#9795DF
Closest named color: Perrywinkle (#8F8CE7). oklch(70.1% 0.107 284.5), rgb(151, 149, 223).
Aa
Black text reads best on this color (7.68:1).
About this color
#9795DF is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.107 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.032 away. Black text reads best on it, at 7.68:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | moderately saturated (0.107) |
| Temperature | cool |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 7.68:1 |
| White text | 2.73:1 |
Values
| HEX | #9795DF |
| RGB | rgb(151, 149, 223) |
| HSL | hsl(242, 54%, 73%) |
| OKLCH | oklch(70.1% 0.107 284.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 #9795DF | 2.73:1 | Fails | Lc -58.1 | Large or bold text, headings |
| Black text on #9795DF | 7.68:1 | AAA | Lc 51.2 | Large or bold text, headings |
| #9795DF text on white | 2.73:1 | Fails | Lc 52.9 | Large or bold text, headings |
| #9795DF text on black | 7.68:1 | AAA | Lc -49.0 | Large or bold text, headings |
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 400.
-
Step 50
50
#F4F5FB
oklch(97.1% 0.008 278.6)
-
Step 100
100
#E8E8F7
oklch(93.5% 0.02 286)
-
Step 200
200
#D6D6F2
oklch(88.5% 0.038 285.6)
-
Step 300
300
#BBBBEB
oklch(80.8% 0.067 284.8)
-
Step 400
400 (this color)
#9795DF
oklch(70.1% 0.107 284.5)
-
Step 500
500
#817CD9
oklch(63.2% 0.137 284.2)
-
Step 600
600
#6C63C6
oklch(55.7% 0.149 284.6)
-
Step 700
700
#5A51AB
oklch(49% 0.139 284.6)
-
Step 800
800
#49438B
oklch(42.7% 0.116 284.1)
-
Step 900
900
#3D396F
oklch(37.7% 0.09 284.6)
-
Step 950
950
#242241
oklch(27.1% 0.057 284.9)
#9795DF 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) | #7F9FE2 | 0.038 |
| Deuteranopia (no green cones) | #7D9ADD | 0.036 |
| Tritanopia (no blue cones) | #85A3B0 | 0.093 |
| Achromatopsia (no color) | #9C9C9C | 0.108 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9795DF
#9795DF
oklch(70.1% 0.107 284.5)
- #A9A24D
#A9A24D
oklch(70% 0.108 104.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 #9795DF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.032
- Periwinkle Blue #8F99FB ΔE 0.041
- Pale Purple #B790D4 ΔE 0.049
- Lavender Blue #8B88F8 ΔE 0.058
- Cornflower Blue #6495ED ΔE 0.065
- Wisteria #A87DC2 ΔE 0.068
- Periwinkle #8E82FE ΔE 0.075
- Heather #A484AC ΔE 0.078
Use #9795DF 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.