#9797DB
Closest named color: Perrywinkle (#8F8CE7). oklch(70.3% 0.099 283.6), rgb(151, 151, 219).
Aa
Black text reads best on this color (7.76:1).
About this color
#9797DB is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.099 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.040 away. Black text reads best on it, at 7.76:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | moderately saturated (0.099) |
| Temperature | cool |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 7.76:1 |
| White text | 2.70:1 |
Values
| HEX | #9797DB |
| RGB | rgb(151, 151, 219) |
| HSL | hsl(240, 49%, 73%) |
| OKLCH | oklch(70.3% 0.099 283.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 #9797DB | 2.70:1 | Fails | Lc -57.6 | Large or bold text, headings |
| Black text on #9797DB | 7.76:1 | AAA | Lc 51.6 | Large or bold text, headings |
| #9797DB text on white | 2.70:1 | Fails | Lc 52.4 | Large or bold text, headings |
| #9797DB text on black | 7.76:1 | AAA | Lc -49.5 | 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
#E8E9F6
oklch(93.7% 0.018 282.5)
-
Step 200
200
#D6D7F0
oklch(88.6% 0.034 283.9)
-
Step 300
300
#BBBCE8
oklch(80.9% 0.062 283.9)
-
Step 400
400 (this color)
#9797DB
oklch(70.3% 0.099 283.6)
-
Step 500
500
#807ED3
oklch(63.2% 0.126 283.2)
-
Step 600
600
#6B65C0
oklch(55.6% 0.138 284)
-
Step 700
700
#5954A6
oklch(49.2% 0.128 283.4)
-
Step 800
800
#494586
oklch(42.7% 0.105 283.8)
-
Step 900
900
#3C3A6C
oklch(37.6% 0.084 283.4)
-
Step 950
950
#23233F
oklch(27.1% 0.051 282.4)
#9797DB 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) | #839FDE | 0.031 |
| Deuteranopia (no green cones) | #819BD9 | 0.030 |
| Tritanopia (no blue cones) | #86A3AF | 0.086 |
| Achromatopsia (no color) | #9D9D9D | 0.099 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9797DB
#9797DB
oklch(70.3% 0.099 283.6)
- #AAA256
#AAA256
oklch(70.2% 0.098 103.2)
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 #9797DB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.040
- Periwinkle Blue #8F99FB ΔE 0.047
- Pale Purple #B790D4 ΔE 0.049
- Lavender Blue #8B88F8 ΔE 0.067
- Cornflower Blue #6495ED ΔE 0.068
- Wisteria #A87DC2 ΔE 0.070
- Cool Gray #8D99AE ΔE 0.072
- Heather #A484AC ΔE 0.075
Use #9797DB 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.