#9795CB
Closest named color: Cool Gray (#8D99AE). oklch(69.1% 0.079 285.8), rgb(151, 149, 203).
Aa
Black text reads best on this color (7.47:1).
About this color
#9795CB is a medium-light, moderately saturated purple. In OKLCH its lightness is 69%, its chroma 0.079 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Gray (#8D99AE), ΔE 0.051 away. Black text reads best on it, at 7.47:1.
| Hue family | Purples |
| Lightness | medium-light (69%) |
| Chroma | moderately saturated (0.079) |
| Temperature | cool |
| Nearest name | Cool Gray (#8D99AE) |
| Black text | 7.47:1 |
| White text | 2.80:1 |
Values
| HEX | #9795CB |
| RGB | rgb(151, 149, 203) |
| HSL | hsl(242, 34%, 69%) |
| OKLCH | oklch(69.1% 0.079 285.8) |
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 #9795CB | 2.80:1 | Fails | Lc -59.3 | Large or bold text, headings |
| Black text on #9795CB | 7.47:1 | AAA | Lc 50.0 | Large or bold text, headings |
| #9795CB text on white | 2.80:1 | Fails | Lc 54.0 | Large or bold text, headings |
| #9795CB text on black | 7.47:1 | AAA | Lc -47.8 | 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
#F5F5FA
oklch(97.2% 0.007 286.3)
-
Step 100
100
#E9E9F3
oklch(93.7% 0.013 286.1)
-
Step 200
200
#D7D7EB
oklch(88.5% 0.027 285.8)
-
Step 300
300
#BDBDE0
oklch(81% 0.049 285.3)
-
Step 400
400 (this color)
#9795CB
oklch(69.1% 0.079 285.8)
-
Step 500
500
#8480C4
oklch(63.1% 0.101 285.8)
-
Step 600
600
#6E69B0
oklch(55.7% 0.108 285.5)
-
Step 700
700
#5C5797
oklch(49.1% 0.101 285.6)
-
Step 800
800
#4B477B
oklch(42.6% 0.085 285.7)
-
Step 900
900
#3F3C63
oklch(37.7% 0.066 286.3)
-
Step 950
950
#25233A
oklch(27% 0.042 287.2)
#9795CB 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) | #879CCD | 0.026 |
| Deuteranopia (no green cones) | #8599CA | 0.026 |
| Tritanopia (no blue cones) | #8B9EA8 | 0.068 |
| Achromatopsia (no color) | #9A9A9A | 0.079 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9795CB
#9795CB
oklch(69.1% 0.079 285.8)
- #A29F65
#A29F65
oklch(69.1% 0.078 105.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 #9795CB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cool Gray #8D99AE ΔE 0.051
- Pale Purple #B790D4 ΔE 0.052
- Perrywinkle #8F8CE7 ΔE 0.055
- Heather #A484AC ΔE 0.056
- Dusty Lavender #AC86A8 ΔE 0.061
- Bluey Grey #89A0B0 ΔE 0.061
- Wisteria #A87DC2 ΔE 0.063
- Bluegrey #85A3B2 ΔE 0.066
Use #9795CB 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.