#997AFF
Closest named color: Periwinkle (#8E82FE). oklch(67.1% 0.19 291.1), rgb(153, 122, 255).
Aa
Black text reads best on this color (6.58:1).
About this color
#997AFF is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.190 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.023 away. Black text reads best on it, at 6.58:1.
| Hue family | Purples |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.190) |
| Temperature | in between |
| Nearest name | Periwinkle (#8E82FE) |
| Black text | 6.58:1 |
| White text | 3.19:1 |
Values
| HEX | #997AFF |
| RGB | rgb(153, 122, 255) |
| HSL | hsl(254, 100%, 74%) |
| OKLCH | oklch(67.1% 0.19 291.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 #997AFF | 3.19:1 | AA large text | Lc -64.2 | Content text, not long reading |
| Black text on #997AFF | 6.58:1 | AA | Lc 45.2 | Large or bold text, headings |
| #997AFF text on white | 3.19:1 | AA large text | Lc 58.8 | Large or bold text, headings |
| #997AFF text on black | 6.58:1 | AA | Lc -42.9 | 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 400.
-
Step 50
50
#F5F4FF
oklch(97.1% 0.015 290.3)
-
Step 100
100
#E9E6FF
oklch(93.5% 0.034 291.2)
-
Step 200
200
#D9D3FF
oklch(88.6% 0.06 291.4)
-
Step 300
300
#C1B5FF
oklch(81% 0.104 291.3)
-
Step 400
400 (this color)
#997AFF
oklch(67.1% 0.19 291.1)
-
Step 500
500
#8F66FF
oklch(63% 0.217 291.2)
-
Step 600
600
#7E39FD
oklch(55.6% 0.264 291.2)
-
Step 700
700
#6B27DC
oklch(49.1% 0.245 291.3)
-
Step 800
800
#5625B2
oklch(42.7% 0.203 290.9)
-
Step 900
900
#46268D
oklch(37.6% 0.159 291)
-
Step 950
950
#291852
oklch(26.9% 0.1 291.7)
#997AFF 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) | #3E92FF | 0.111 |
| Deuteranopia (no green cones) | #438DFC | 0.106 |
| Tritanopia (no blue cones) | #7D96B1 | 0.156 |
| Achromatopsia (no color) | #909090 | 0.191 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #997AFF
#997AFF
oklch(67.1% 0.19 291.1)
- #9A9D00
#9A9D00
oklch(67.1% 0.148 111.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 #997AFF, closest first.
No curated palette has a color within ΔE 0.04 of #997AFF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle #8E82FE ΔE 0.023
- Lavender Blue #8B88F8 ΔE 0.040
- Light Urple #B36FF6 ΔE 0.047
- Medium Purple #9370DB ΔE 0.057
- Perrywinkle #8F8CE7 ΔE 0.062
- Light Purple #BF77F6 ΔE 0.063
- Easter Purple #C071FE ΔE 0.065
- Lighter Purple #A55AF4 ΔE 0.068
Use #997AFF 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.