#8D98FC#8D98FC
#8D98FC is a light, vivid blue. Relative luminance 0.351; OKLCH L 71.4% C 0.146 H 277.3°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8D98FC |
|---|---|
| RGB | rgb(141, 152, 252) |
| HSL | hsl(234, 95%, 77%) |
| HSV | hsv(234, 44%, 99%) |
| CMYK | cmyk(44%, 39.7%, 0%, 1.2%) |
| CIE-LAB | lab(65.86, 21.15, -51.15) |
| CIE-LCH | lch(65.86, 55.35, 292.46°) |
| OKLab | oklab(71.37% 0.0185 -0.1443) |
| OKLCH | oklch(71.37% 0.146 277.3) |
| XYZ | xyz(39.7781, 35.1455, 96.7644) |
| Luminance | 0.3515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 0.46
Lavender Blue
#8B88F8
ΔE00 4.80
Perrywinkle
#8F8CE7
ΔE00 4.90
Periwinkle (survey)
#8E82FE
ΔE00 6.76
Soft Blue
#6488EA
ΔE00 7.81
Cornflowerblue
#6495ED
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D98FC #FCF18D
analogous
#8DD0FC #8D98FC #BA8DFC
triadic
#8D98FC #FC8D98 #98FC8D
tetradic
#8D98FC #FC8DD0 #FCF18D #8DFCBA
square
#8D98FC #FC8DD0 #FCF18D #8DFCBA
split-complementary
#8D98FC #FCBA8D #D0FC8D
monochromatic
#162CF9 #5162FA #8D98FC #C9CEFE #E1E4FE
Accessibility & contrast
On white
2.62
#8D98FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#8D98FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8D98FC
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D98FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D98FC | 1.00 | 2.62 | 8.03 | 8.03 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#6B9CFA
Tritanopia (blue-blind)
#67ACBE
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #8d98fc; /* rgb */ color: rgb(141, 152, 252); /* oklch */ color: oklch(71.4% 0.146 277.3);
Tailwind
colors: {
custom: {
50: '#b3b6fe',
500: '#8d98fc',
950: '#000000',
},
}SCSS
$custom: #8d98fc; $custom-light: #b3b6fe; $custom-dark: #000000;
JSON
{
"hex": "#8d98fc",
"rgb": {
"r": 141,
"g": 152,
"b": 252
},
"hsl": {
"h": 234.054,
"s": 94.872,
"l": 77.059
},
"oklch": {
"l": 0.71368,
"c": 0.14552,
"h": 277.3
},
"luminance": 0.35147
}Semantic roles & 50–950 ramp
primary
#8D98FC
secondary
#F6F3D5
accent
#CF00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086