#9768D7
Closest named color: Medium Purple (#9370DB). oklch(61.5% 0.166 301.2), rgb(151, 104, 215).
Aa
Black text reads best on this color (5.27:1).
About this color
#9768D7 is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.166 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.019 away. Black text reads best on it, at 5.27:1.
| Hue family | Purples |
| Lightness | medium-dark (62%) |
| Chroma | vivid (0.166) |
| Temperature | in between |
| Nearest name | Medium Purple (#9370DB) |
| Black text | 5.27:1 |
| White text | 3.97:1 |
Values
| HEX | #9768D7 |
| RGB | rgb(151, 104, 215) |
| HSL | hsl(265, 58%, 63%) |
| OKLCH | oklch(61.5% 0.166 301.2) |
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 #9768D7 | 3.97:1 | AA large text | Lc -72.4 | Content text, not long reading |
| Black text on #9768D7 | 5.27:1 | AA | Lc 37.2 | Non-text elements, placeholder text |
| #9768D7 text on white | 3.97:1 | AA large text | Lc 66.9 | Content text, not long reading |
| #9768D7 text on black | 5.27:1 | AA | Lc -34.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
#F6F4FC
oklch(97.1% 0.011 297.6)
-
Step 100
100
#ECE7F7
oklch(93.7% 0.022 300.2)
-
Step 200
200
#DED3F3
oklch(88.6% 0.045 301.1)
-
Step 300
300
#C9B5ED
oklch(80.9% 0.081 301)
-
Step 400
400
#AF8CE4
oklch(70.7% 0.13 301.5)
-
Step 500
500 (this color)
#9768D7
oklch(61.5% 0.166 301.2)
-
Step 600
600
#8752CA
oklch(55.6% 0.18 301.1)
-
Step 700
700
#7341AF
oklch(49.1% 0.169 301.3)
-
Step 800
800
#5D378D
oklch(42.7% 0.138 301.1)
-
Step 900
900
#4C3071
oklch(37.6% 0.109 301.2)
-
Step 950
950
#2C1D42
oklch(26.9% 0.068 300.6)
#9768D7 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) | #417FDB | 0.119 |
| Deuteranopia (no green cones) | #4F7FD4 | 0.109 |
| Tritanopia (no blue cones) | #8B7D96 | 0.126 |
| Achromatopsia (no color) | #7F7F7F | 0.167 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9768D7
#9768D7
oklch(61.5% 0.166 301.2)
- #789100
#789100
oklch(61.5% 0.148 121.1)
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 #9768D7, closest first.
No curated palette has a color within ΔE 0.04 of #9768D7.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Purple #9370DB ΔE 0.019
- Amethyst #9B5FC0 ΔE 0.038
- Deep Lilac #966EBD ΔE 0.045
- Deep Lavender #8D5EB7 ΔE 0.054
- Purpley #8756E4 ΔE 0.056
- Medium Slate Blue #7B68EE ΔE 0.057
- Lighter Purple #A55AF4 ΔE 0.058
- Soft Purple #A66FB5 ΔE 0.065
Use #9768D7 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.