#782F9B
Closest named color: Rebecca Purple (#663399). oklch(45.9% 0.173 312.6), rgb(120, 47, 155).
Aa
White text reads best on this color (7.84:1).
About this color
#782F9B is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.173 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.035 away. White text reads best on it, at 7.84:1.
| Hue family | Purples |
| Lightness | medium-dark (46%) |
| Chroma | vivid (0.173) |
| Temperature | in between |
| Nearest name | Rebecca Purple (#663399) |
| Black text | 2.67:1 |
| White text | 7.84:1 |
Values
| HEX | #782F9B |
| RGB | rgb(120, 47, 155) |
| HSL | hsl(281, 53%, 40%) |
| OKLCH | oklch(45.9% 0.173 312.6) |
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 #782F9B | 7.84:1 | AAA | Lc -91.2 | Preferred for body text |
| Black text on #782F9B | 2.67:1 | Fails | Lc 17.6 | Dividers and decoration only |
| #782F9B text on white | 7.84:1 | AAA | Lc 86.5 | Fine for body text |
| #782F9B text on black | 2.67:1 | Fails | Lc -15.6 | Dividers and decoration only |
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 700.
-
Step 50
50
#F8F3FB
oklch(97% 0.012 313.2)
-
Step 100
100
#EFE5F6
oklch(93.5% 0.025 311.7)
-
Step 200
200
#E4D1F0
oklch(88.6% 0.047 312.5)
-
Step 300
300
#D3B1E8
oklch(80.8% 0.084 312.3)
-
Step 400
400
#BD86DC
oklch(70.6% 0.135 312.6)
-
Step 500
500
#AC65D2
oklch(63% 0.171 312.5)
-
Step 600
600
#9849BF
oklch(55.6% 0.186 312.8)
-
Step 700
700 (this color)
#782F9B
oklch(45.9% 0.173 312.6)
-
Step 800
800
#693086
oklch(42.6% 0.144 312.4)
-
Step 900
900
#562C6B
oklch(37.8% 0.112 313.1)
-
Step 950
950
#321A3F
oklch(26.9% 0.072 312.5)
#782F9B 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) | #004E9E | 0.156 |
| Deuteranopia (no green cones) | #255399 | 0.142 |
| Tritanopia (no blue cones) | #744561 | 0.116 |
| Achromatopsia (no color) | #525252 | 0.174 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #782F9B
#782F9B
oklch(45.9% 0.173 312.6)
- #3A6600
#3A6600
oklch(46% 0.129 132.6)
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 #782F9B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rebecca Purple #663399 ΔE 0.035
- Dark Magenta #8B008B ΔE 0.062
- Warm Purple #952E8F ΔE 0.063
- Grape #7209B7 ΔE 0.064
- Purple #800080 ΔE 0.066
- Light Eggplant #894585 ΔE 0.075
- Purply #983FB2 ΔE 0.079
- Bluey Purple #6241C7 ΔE 0.088
Use #782F9B 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.