#9796EF
Closest named color: Periwinkle Blue (#8F99FB). oklch(71% 0.129 283.1), rgb(151, 150, 239).
Aa
Black text reads best on this color (7.92:1).
About this color
#9796EF is a medium-light, moderately saturated purple. In OKLCH its lightness is 71%, its chroma 0.129 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.020 away. Black text reads best on it, at 7.92:1.
| Hue family | Purples |
| Lightness | medium-light (71%) |
| Chroma | moderately saturated (0.129) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 7.92:1 |
| White text | 2.64:1 |
Values
| HEX | #9796EF |
| RGB | rgb(151, 150, 239) |
| HSL | hsl(241, 74%, 76%) |
| OKLCH | oklch(71% 0.129 283.1) |
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 #9796EF | 2.64:1 | Fails | Lc -56.7 | Large or bold text, headings |
| Black text on #9796EF | 7.92:1 | AAA | Lc 52.5 | Large or bold text, headings |
| #9796EF text on white | 2.64:1 | Fails | Lc 51.5 | Large or bold text, headings |
| #9796EF text on black | 7.92:1 | AAA | Lc -50.4 | 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
#F4F5FD
oklch(97.2% 0.011 280.5)
-
Step 100
100
#E7E8F9
oklch(93.5% 0.023 283.3)
-
Step 200
200
#D4D6F7
oklch(88.5% 0.045 282.7)
-
Step 300
300
#B9BAF4
oklch(80.8% 0.082 283.6)
-
Step 400
400 (this color)
#9796EF
oklch(71% 0.129 283.1)
-
Step 500
500
#7E78E8
oklch(63.1% 0.164 283.1)
-
Step 600
600
#695ED6
oklch(55.6% 0.178 283.1)
-
Step 700
700
#584CBA
oklch(49% 0.167 283.3)
-
Step 800
800
#483F96
oklch(42.6% 0.138 283.6)
-
Step 900
900
#3B3778
oklch(37.7% 0.107 282.7)
-
Step 950
950
#232146
oklch(27.1% 0.067 283.4)
#9796EF 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) | #79A2F3 | 0.045 |
| Deuteranopia (no green cones) | #759CED | 0.044 |
| Tritanopia (no blue cones) | #7FA7B7 | 0.111 |
| Achromatopsia (no color) | #9F9F9F | 0.129 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9796EF
#9796EF
oklch(71% 0.129 283.1)
- #B0A537
#B0A537
oklch(71.1% 0.129 103.6)
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 #9796EF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle Blue #8F99FB ΔE 0.020
- Perrywinkle #8F8CE7 ΔE 0.030
- Lavender Blue #8B88F8 ΔE 0.045
- Pale Purple #B790D4 ΔE 0.059
- Periwinkle #8E82FE ΔE 0.061
- Cornflower Blue #6495ED ΔE 0.064
- Liliac #C48EFD ΔE 0.073
- Baby Purple #CA9BF7 ΔE 0.079
Use #9796EF 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.