#9786CC
Closest named color: Wisteria (#A87DC2). oklch(66.2% 0.103 294.6), rgb(151, 134, 204).
Aa
Black text reads best on this color (6.59:1).
About this color
#9786CC is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.103 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.034 away. Black text reads best on it, at 6.59:1.
| Hue family | Purples |
| Lightness | medium-light (66%) |
| Chroma | moderately saturated (0.103) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 6.59:1 |
| White text | 3.18:1 |
Values
| HEX | #9786CC |
| RGB | rgb(151, 134, 204) |
| HSL | hsl(255, 41%, 66%) |
| OKLCH | oklch(66.2% 0.103 294.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 #9786CC | 3.18:1 | AA large text | Lc -64.4 | Content text, not long reading |
| Black text on #9786CC | 6.59:1 | AA | Lc 45.1 | Large or bold text, headings |
| #9786CC text on white | 3.18:1 | AA large text | Lc 58.9 | Large or bold text, headings |
| #9786CC text on black | 6.59:1 | AA | Lc -42.8 | 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
#F5F5FA
oklch(97.2% 0.007 286.3)
-
Step 100
100
#EAE8F3
oklch(93.6% 0.015 294.5)
-
Step 200
200
#DAD6EA
oklch(88.5% 0.028 295)
-
Step 300
300
#C2BBDF
oklch(80.9% 0.051 294.2)
-
Step 400
400
#A397CE
oklch(70.7% 0.08 294.3)
-
Step 500
500 (this color)
#9786CC
oklch(66.2% 0.103 294.6)
-
Step 600
600
#7865AE
oklch(55.6% 0.112 294.5)
-
Step 700
700
#655396
oklch(49.1% 0.106 294.6)
-
Step 800
800
#524479
oklch(42.6% 0.087 294.6)
-
Step 900
900
#443A62
oklch(37.7% 0.068 294.4)
-
Step 950
950
#282239
oklch(27% 0.043 295.4)
#9786CC 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) | #7491CF | 0.052 |
| Deuteranopia (no green cones) | #768FCA | 0.050 |
| Tritanopia (no blue cones) | #8C92A0 | 0.085 |
| Achromatopsia (no color) | #909090 | 0.104 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9786CC
#9786CC
oklch(66.2% 0.103 294.6)
- #919A4C
#919A4C
oklch(66.2% 0.103 114.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 #9786CC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.034
- Perrywinkle #8F8CE7 ΔE 0.041
- Heather #A484AC ΔE 0.051
- Pale Purple #B790D4 ΔE 0.059
- Deep Lilac #966EBD ΔE 0.061
- Soft Purple #A66FB5 ΔE 0.062
- Dusty Lavender #AC86A8 ΔE 0.063
- Medium Purple #9370DB ΔE 0.065
Use #9786CC 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.