#F998F2#F998F2
#F998F2 is a light, vivid purple. Relative luminance 0.490; OKLCH L 80.8% C 0.161 H 329.5°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #F998F2 |
|---|---|
| RGB | rgb(249, 152, 242) |
| HSL | hsl(304, 89%, 79%) |
| HSV | hsv(304, 39%, 98%) |
| CMYK | cmyk(0%, 39%, 2.8%, 2.4%) |
| CIE-LAB | lab(75.46, 49.27, -29.98) |
| CIE-LCH | lch(75.46, 57.67, 328.68°) |
| OKLab | oklab(80.83% 0.1384 -0.0814) |
| OKLCH | oklch(80.83% 0.161 329.5) |
| XYZ | xyz(66.3212, 49.0102, 89.9537) |
| Luminance | 0.4901 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 5.10
Plum
#DDA0DD
ΔE00 6.10
Lavender Pink
#DD85D7
ΔE00 6.30
Purply Pink
#F075E6
ΔE00 7.21
Bubblegum Pink
#FE83CC
ΔE00 7.66
Mauve
#E0B0FF
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F998F2 #98F99F
analogous
#CF98F9 #F998F2 #F998C1
triadic
#F998F2 #F2F998 #98F2F9
tetradic
#F998F2 #F9CF98 #98F99F #98C1F9
square
#F998F2 #F9CF98 #98F99F #98C1F9
split-complementary
#F998F2 #C1F998 #98F9CF
monochromatic
#F224E3 #F65EEB #F998F2 #FCD2F9 #FDE2FB
Accessibility & contrast
On white
1.94
#F998F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.80
#F998F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F998F2
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F998F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F998F2 | 1.00 | 1.94 | 10.80 | 10.80 |
| #FFFFFF | 1.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93B2F5
Deuteranopia (green-blind)
#ADBFEF
Tritanopia (blue-blind)
#FF9FBA
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #f998f2; /* rgb */ color: rgb(249, 152, 242); /* oklch */ color: oklch(80.8% 0.161 329.5);
Tailwind
colors: {
custom: {
50: '#fdb8f6',
500: '#f998f2',
950: '#000000',
},
}SCSS
$custom: #f998f2; $custom-light: #fdb8f6; $custom-dark: #000000;
JSON
{
"hex": "#f998f2",
"rgb": {
"r": 249,
"g": 152,
"b": 242
},
"hsl": {
"h": 304.33,
"s": 88.991,
"l": 78.627
},
"oklch": {
"l": 0.80828,
"c": 0.16057,
"h": 329.5
},
"luminance": 0.49007
}Semantic roles & 50–950 ramp
primary
#F998F2
secondary
#D6F5D8
accent
#E61100
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085