#8D98E2
Closest named color: Perrywinkle (#8F8CE7). oklch(70% 0.109 276.7), rgb(141, 152, 226).
Aa
Black text reads best on this color (7.72:1).
About this color
#8D98E2 is a medium-light, moderately saturated blue. In OKLCH its lightness is 70%, its chroma 0.109 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.034 away. Black text reads best on it, at 7.72:1.
| Hue family | Blues |
| Lightness | medium-light (70%) |
| Chroma | moderately saturated (0.109) |
| Temperature | cool |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 7.72:1 |
| White text | 2.71:1 |
Values
| HEX | #8D98E2 |
| RGB | rgb(141, 152, 226) |
| HSL | hsl(232, 59%, 72%) |
| OKLCH | oklch(70% 0.109 276.7) |
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 #8D98E2 | 2.71:1 | Fails | Lc -57.8 | Large or bold text, headings |
| Black text on #8D98E2 | 7.72:1 | AAA | Lc 51.4 | Large or bold text, headings |
| #8D98E2 text on white | 2.71:1 | Fails | Lc 52.6 | Large or bold text, headings |
| #8D98E2 text on black | 7.72:1 | AAA | Lc -49.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
#F4F5FC
oklch(97.1% 0.009 279.7)
-
Step 100
100
#E6E9F7
oklch(93.6% 0.019 276.3)
-
Step 200
200
#D2D7F3
oklch(88.4% 0.039 277.6)
-
Step 300
300
#B5BDED
oklch(80.9% 0.068 277.4)
-
Step 400
400 (this color)
#8D98E2
oklch(70% 0.109 276.7)
-
Step 500
500
#757FDC
oklch(63% 0.139 277)
-
Step 600
600
#5F67CA
oklch(55.7% 0.151 276.8)
-
Step 700
700
#4E55AF
oklch(49.1% 0.141 276.5)
-
Step 800
800
#40468D
oklch(42.7% 0.116 276.7)
-
Step 900
900
#363B71
oklch(37.6% 0.092 277.1)
-
Step 950
950
#1F2342
oklch(26.9% 0.058 276.3)
#8D98E2 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) | #80A0E5 | 0.024 |
| Deuteranopia (no green cones) | #7A9AE0 | 0.025 |
| Tritanopia (no blue cones) | #74A6B3 | 0.096 |
| Achromatopsia (no color) | #9D9D9D | 0.109 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8D98E2
#8D98E2
oklch(70% 0.109 276.7)
- #B29E48
#B29E48
oklch(69.9% 0.109 96.3)
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 #8D98E2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.034
- Periwinkle Blue #8F99FB ΔE 0.037
- Cornflower Blue #6495ED ΔE 0.053
- Lavender Blue #8B88F8 ΔE 0.058
- Pale Purple #B790D4 ΔE 0.063
- Soft Blue #6488EA ΔE 0.073
- Periwinkle #8E82FE ΔE 0.076
- Chefchaouen Blue #4895EF ΔE 0.078
Use #8D98E2 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.