#787AC4
Closest named color: Deep Lilac (#966EBD). oklch(60.9% 0.111 281.4), rgb(120, 122, 196).
Aa
Black text reads best on this color (5.37:1).
About this color
#787AC4 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.111 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.052 away. Black text reads best on it, at 5.37:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | moderately saturated (0.111) |
| Temperature | cool |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 5.37:1 |
| White text | 3.90:1 |
Values
| HEX | #787AC4 |
| RGB | rgb(120, 122, 196) |
| HSL | hsl(238, 39%, 62%) |
| OKLCH | oklch(60.9% 0.111 281.4) |
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 #787AC4 | 3.90:1 | AA large text | Lc -71.9 | Content text, not long reading |
| Black text on #787AC4 | 5.37:1 | AA | Lc 37.7 | Non-text elements, placeholder text |
| #787AC4 text on white | 3.90:1 | AA large text | Lc 66.4 | Content text, not long reading |
| #787AC4 text on black | 5.37:1 | AA | Lc -35.3 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F4F5FA
oklch(97.1% 0.007 277.2)
-
Step 100
100
#E8E9F4
oklch(93.6% 0.015 281.9)
-
Step 200
200
#D5D7ED
oklch(88.4% 0.03 281.6)
-
Step 300
300
#BABDE4
oklch(80.9% 0.055 281.6)
-
Step 400
400
#979AD6
oklch(70.6% 0.087 281.7)
-
Step 500
500 (this color)
#787AC4
oklch(60.9% 0.111 281.4)
-
Step 600
600
#6869B8
oklch(55.6% 0.121 281.2)
-
Step 700
700
#57579E
oklch(49.1% 0.112 281.5)
-
Step 800
800
#474780
oklch(42.6% 0.093 281.7)
-
Step 900
900
#3B3C67
oklch(37.6% 0.073 281.3)
-
Step 950
950
#23233C
oklch(26.9% 0.046 282.9)
#787AC4 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) | #6184C7 | 0.037 |
| Deuteranopia (no green cones) | #5D7EC2 | 0.036 |
| Tritanopia (no blue cones) | #628896 | 0.096 |
| Achromatopsia (no color) | #818181 | 0.111 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #787AC4
#787AC4
oklch(60.9% 0.111 281.4)
- #918528
#918528
oklch(61% 0.112 101.8)
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 #787AC4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.052
- Faded Blue #658CBB ΔE 0.058
- Medium Purple #9370DB ΔE 0.061
- Soft Blue #6488EA ΔE 0.064
- Off Blue #5684AE ΔE 0.065
- Cool Blue #4984B8 ΔE 0.065
- Dusty Blue #5A86AD ΔE 0.066
- Steel Blue #4682B4 ΔE 0.069
Use #787AC4 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.