#782A8C
Closest named color: Rebecca Purple (#663399). oklch(44.4% 0.165 318.7), rgb(120, 42, 140).
Aa
White text reads best on this color (8.37:1).
About this color
#782A8C is a dark, vivid purple. In OKLCH its lightness is 44%, its chroma 0.165 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.044 away. White text reads best on it, at 8.37:1.
| Hue family | Purples |
| Lightness | dark (44%) |
| Chroma | vivid (0.165) |
| Temperature | in between |
| Nearest name | Rebecca Purple (#663399) |
| Black text | 2.50:1 |
| White text | 8.37:1 |
Values
| HEX | #782A8C |
| RGB | rgb(120, 42, 140) |
| HSL | hsl(288, 54%, 36%) |
| OKLCH | oklch(44.4% 0.165 318.7) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #782A8C | 8.37:1 | AAA | Lc -92.7 | Preferred for body text |
| Black text on #782A8C | 2.50:1 | Fails | Lc 15.9 | Dividers and decoration only |
| #782A8C text on white | 8.37:1 | AAA | Lc 88.1 | Fine for body text |
| #782A8C text on black | 2.50:1 | Fails | Lc -14.1 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.
-
Step 50
50
#F9F3FB
oklch(97.1% 0.012 317.7)
-
Step 100
100
#F2E4F6
oklch(93.5% 0.028 318.7)
-
Step 200
200
#E9CEF0
oklch(88.4% 0.054 319.3)
-
Step 300
300
#DCADE9
oklch(81% 0.097 318.8)
-
Step 400
400
#C97FDD
oklch(70.8% 0.153 318.9)
-
Step 500
500
#BA59D4
oklch(63.1% 0.198 318.7)
-
Step 600
600
#A539C1
oklch(55.6% 0.214 318.5)
-
Step 700
700
#8E29A6
oklch(49.2% 0.199 319)
-
Step 800
800 (this color)
#782A8C
oklch(44.4% 0.165 318.7)
-
Step 900
900
#5D246C
oklch(37.6% 0.129 318.7)
-
Step 950
950
#37173F
oklch(27.1% 0.08 319.2)
#782A8C with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #00498F | 0.164 |
| Deuteranopia (no green cones) | #30508A | 0.140 |
| Tritanopia (no blue cones) | #783C58 | 0.102 |
| Achromatopsia (no color) | #4E4E4E | 0.166 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #782A8C
#782A8C
oklch(44.4% 0.165 318.7)
- #226400
#226400
oklch(44.3% 0.139 138.7)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #782A8C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rebecca Purple #663399 ΔE 0.044
- Purple #800080 ΔE 0.047
- Dark Magenta #8B008B ΔE 0.051
- Warm Purple #952E8F ΔE 0.061
- Light Eggplant #894585 ΔE 0.073
- Grape #7209B7 ΔE 0.080
- Purply #983FB2 ΔE 0.095
- Dark Slate Blue #483D8B ΔE 0.095
Use #782A8C in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.