#785AEB
Closest named color: Purpley (#8756E4). oklch(57.7% 0.208 287.5), rgb(120, 90, 235).
Aa
White text reads best on this color (4.70:1).
About this color
#785AEB is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.208 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.028 away. White text reads best on it, at 4.70:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.208) |
| Temperature | cool |
| Nearest name | Purpley (#8756E4) |
| Black text | 4.46:1 |
| White text | 4.70:1 |
Values
| HEX | #785AEB |
| RGB | rgb(120, 90, 235) |
| HSL | hsl(252, 78%, 64%) |
| OKLCH | oklch(57.7% 0.208 287.5) |
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 #785AEB | 4.70:1 | AA | Lc -77.7 | Fine for body text |
| Black text on #785AEB | 4.46:1 | AA large text | Lc 31.9 | Non-text elements, placeholder text |
| #785AEB text on white | 4.70:1 | AA | Lc 72.2 | Content text, not long reading |
| #785AEB text on black | 4.46:1 | AA large text | Lc -29.5 | 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 600.
-
Step 50
50
#F5F4FE
oklch(97.1% 0.013 290.8)
-
Step 100
100
#E8E7FC
oklch(93.5% 0.028 288)
-
Step 200
200
#D6D4FB
oklch(88.4% 0.053 287.6)
-
Step 300
300
#BDB8FA
oklch(81% 0.093 287.6)
-
Step 400
400
#9C8FF8
oklch(70.6% 0.151 287.6)
-
Step 500
500
#866FF5
oklch(63% 0.193 287.4)
-
Step 600
600 (this color)
#785AEB
oklch(57.7% 0.208 287.5)
-
Step 700
700
#6042C6
oklch(49.1% 0.194 287.4)
-
Step 800
800
#4E38A0
oklch(42.8% 0.16 287.3)
-
Step 900
900
#40327F
oklch(37.7% 0.125 287.2)
-
Step 950
950
#251E4A
oklch(27% 0.079 287.2)
#785AEB 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) | #0077F0 | 0.111 |
| Deuteranopia (no green cones) | #0070E8 | 0.109 |
| Tritanopia (no blue cones) | #507C9A | 0.171 |
| Achromatopsia (no color) | #737373 | 0.210 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #785AEB
#785AEB
oklch(57.7% 0.208 287.5)
- #827E00
#827E00
oklch(57.8% 0.124 107.5)
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 #785AEB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley #8756E4 ΔE 0.028
- Medium Slate Blue #7B68EE ΔE 0.032
- Light Indigo #6D5ACF ΔE 0.046
- Dark Periwinkle #665FD1 ΔE 0.049
- Slate Blue #6A5ACD ΔE 0.051
- Iris #6258C4 ΔE 0.069
- Cornflower #6A79F7 ΔE 0.071
- Neon Blue #4361EE ΔE 0.071
Use #785AEB 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.