#9F8DF2
Closest named color: Perrywinkle (#8F8CE7). oklch(70.1% 0.145 290.3), rgb(159, 141, 242).
Aa
Black text reads best on this color (7.56:1).
About this color
#9F8DF2 is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.145 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.029 away. Black text reads best on it, at 7.56:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | vivid (0.145) |
| Temperature | in between |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 7.56:1 |
| White text | 2.77:1 |
Values
| HEX | #9F8DF2 |
| RGB | rgb(159, 141, 242) |
| HSL | hsl(251, 80%, 75%) |
| OKLCH | oklch(70.1% 0.145 290.3) |
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 #9F8DF2 | 2.77:1 | Fails | Lc -58.7 | Large or bold text, headings |
| Black text on #9F8DF2 | 7.56:1 | AAA | Lc 50.6 | Large or bold text, headings |
| #9F8DF2 text on white | 2.77:1 | Fails | Lc 53.4 | Large or bold text, headings |
| #9F8DF2 text on black | 7.56:1 | AAA | Lc -48.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
#F5F4FD
oklch(97% 0.012 291.3)
-
Step 100
100
#E9E7FB
oklch(93.5% 0.027 290.5)
-
Step 200
200
#D8D4F9
oklch(88.5% 0.051 290.3)
-
Step 300
300
#C0B7F8
oklch(81% 0.091 290.6)
-
Step 400
400 (this color)
#9F8DF2
oklch(70.1% 0.145 290.3)
-
Step 500
500
#8C6FF0
oklch(63.2% 0.186 290.4)
-
Step 600
600
#7753DE
oklch(55.6% 0.202 290.2)
-
Step 700
700
#6542C1
oklch(49.2% 0.188 290.4)
-
Step 800
800
#52379C
oklch(42.7% 0.156 290.5)
-
Step 900
900
#43317C
oklch(37.6% 0.122 290.4)
-
Step 950
950
#271E49
oklch(27.1% 0.077 289.9)
#9F8DF2 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) | #6C9DF6 | 0.071 |
| Deuteranopia (no green cones) | #6D99F0 | 0.068 |
| Tritanopia (no blue cones) | #8AA0B4 | 0.121 |
| Achromatopsia (no color) | #9B9B9B | 0.146 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9F8DF2
#9F8DF2
oklch(70.1% 0.145 290.3)
- #A4A61F
#A4A61F
oklch(70.1% 0.145 110.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 #9F8DF2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.029
- Lavender Blue #8B88F8 ΔE 0.035
- Periwinkle Blue #8F99FB ΔE 0.035
- Periwinkle #8E82FE ΔE 0.045
- Pale Purple #B790D4 ΔE 0.060
- Liliac #C48EFD ΔE 0.060
- Light Purple #BF77F6 ΔE 0.069
- Light Urple #B36FF6 ΔE 0.074
Use #9F8DF2 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.