#948EDD
Closest named color: Perrywinkle (#8F8CE7). oklch(68.4% 0.115 286.4), rgb(148, 142, 221).
Aa
Black text reads best on this color (7.17:1).
About this color
#948EDD is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.115 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.018 away. Black text reads best on it, at 7.17:1.
| Hue family | Purples |
| Lightness | medium-light (68%) |
| Chroma | moderately saturated (0.115) |
| Temperature | cool |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 7.17:1 |
| White text | 2.92:1 |
Values
| HEX | #948EDD |
| RGB | rgb(148, 142, 221) |
| HSL | hsl(245, 54%, 71%) |
| OKLCH | oklch(68.4% 0.115 286.4) |
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 #948EDD | 2.92:1 | Fails | Lc -61.0 | Content text, not long reading |
| Black text on #948EDD | 7.17:1 | AAA | Lc 48.4 | Large or bold text, headings |
| #948EDD text on white | 2.92:1 | Fails | Lc 55.6 | Large or bold text, headings |
| #948EDD text on black | 7.17:1 | AAA | Lc -46.2 | 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
#F5F5FC
oklch(97.2% 0.009 286.2)
-
Step 100
100
#E8E8F8
oklch(93.6% 0.022 286)
-
Step 200
200
#D6D6F3
oklch(88.5% 0.04 285.6)
-
Step 300
300
#BCBAEE
oklch(80.8% 0.073 286.4)
-
Step 400
400 (this color)
#948EDD
oklch(68.4% 0.115 286.4)
-
Step 500
500
#8479DD
oklch(63.1% 0.147 286.4)
-
Step 600
600
#6F60CB
oklch(55.7% 0.16 286.4)
-
Step 700
700
#5D4EAF
oklch(49% 0.149 286.6)
-
Step 800
800
#4C418E
oklch(42.8% 0.123 286.5)
-
Step 900
900
#3F3871
oklch(37.8% 0.095 286.6)
-
Step 950
950
#252142
oklch(27% 0.06 287.2)
#948EDD 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) | #7699E0 | 0.045 |
| Deuteranopia (no green cones) | #7595DB | 0.043 |
| Tritanopia (no blue cones) | #829DAB | 0.099 |
| Achromatopsia (no color) | #979797 | 0.115 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #948EDD
#948EDD
oklch(68.4% 0.115 286.4)
- #A29E41
#A29E41
oklch(68.4% 0.115 106.8)
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 #948EDD, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.018
- Periwinkle Blue #8F99FB ΔE 0.047
- Lavender Blue #8B88F8 ΔE 0.048
- Pale Purple #B790D4 ΔE 0.055
- Wisteria #A87DC2 ΔE 0.057
- Cornflower Blue #6495ED ΔE 0.062
- Periwinkle #8E82FE ΔE 0.064
- Soft Blue #6488EA ΔE 0.069
Use #948EDD 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.