#F18DF2#F18DF2
#F18DF2 is a light, vivid purple. Relative luminance 0.442; OKLCH L 78.3% C 0.174 H 326.7°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #F18DF2 |
|---|---|
| RGB | rgb(241, 141, 242) |
| HSL | hsl(299, 80%, 75%) |
| HSV | hsv(299, 42%, 95%) |
| CMYK | cmyk(0.4%, 41.7%, 0%, 5.1%) |
| CIE-LAB | lab(72.34, 52.46, -34.87) |
| CIE-LCH | lch(72.34, 62.99, 326.39°) |
| OKLab | oklab(78.29% 0.1452 -0.0953) |
| OKLCH | oklch(78.29% 0.174 326.7) |
| XYZ | xyz(61.8263, 44.1642, 89.2551) |
| Luminance | 0.4416 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.31
Purply Pink
#F075E6
ΔE00 4.79
Lavender Pink
#DD85D7
ΔE00 4.80
Plum
#DDA0DD
ΔE00 7.23
Candy Pink
#FF63E9
ΔE00 7.26
Orchid
#DA70D6
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F18DF2 #8EF28D
analogous
#BE8DF2 #F18DF2 #F28DC0
triadic
#F18DF2 #F2F18D #8DF2F1
tetradic
#F18DF2 #F2BE8D #8EF28D #8DC0F2
square
#F18DF2 #F2BE8D #8EF28D #8DC0F2
split-complementary
#F18DF2 #C0F28D #8DF2BE
monochromatic
#E41FE5 #EA56EC #F18DF2 #F8C4F8 #FCE4FC
Accessibility & contrast
On white
2.14
#F18DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#F18DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F18DF2
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F18DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F18DF2 | 1.00 | 2.14 | 9.83 | 9.83 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84A9F6
Deuteranopia (green-blind)
#A0B6EF
Tritanopia (blue-blind)
#F697B4
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #f18df2; /* rgb */ color: rgb(241, 141, 242); /* oklch */ color: oklch(78.3% 0.174 326.7);
Tailwind
colors: {
custom: {
50: '#f7b1f6',
500: '#f18df2',
950: '#000000',
},
}SCSS
$custom: #f18df2; $custom-light: #f7b1f6; $custom-dark: #000000;
JSON
{
"hex": "#f18df2",
"rgb": {
"r": 241,
"g": 141,
"b": 242
},
"hsl": {
"h": 299.406,
"s": 79.528,
"l": 75.098
},
"oklch": {
"l": 0.7829,
"c": 0.17369,
"h": 326.7
},
"luminance": 0.44161
}Semantic roles & 50–950 ramp
primary
#F18DF2
secondary
#D8F4D7
accent
#DC0A0C
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085