#F18EF2#F18EF2
#F18EF2 is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.4% C 0.172 H 326.7°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #F18EF2 |
|---|---|
| RGB | rgb(241, 142, 242) |
| HSL | hsl(299, 79%, 75%) |
| HSV | hsv(299, 41%, 95%) |
| CMYK | cmyk(0.4%, 41.3%, 0%, 5.1%) |
| CIE-LAB | lab(72.54, 51.95, -34.57) |
| CIE-LCH | lch(72.54, 62.40, 326.36°) |
| OKLab | oklab(78.44% 0.1438 -0.0944) |
| OKLCH | oklch(78.44% 0.172 326.7) |
| XYZ | xyz(61.9744, 44.4605, 89.3045) |
| Luminance | 0.4446 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.52
Lavender Pink
#DD85D7
ΔE00 4.85
Purply Pink
#F075E6
ΔE00 4.98
Plum
#DDA0DD
ΔE00 7.07
Candy Pink
#FF63E9
ΔE00 7.46
Orchid
#DA70D6
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F18EF2 #8FF28E
analogous
#BF8EF2 #F18EF2 #F28EC1
triadic
#F18EF2 #F2F18E #8EF2F1
tetradic
#F18EF2 #F2BF8E #8FF28E #8EC1F2
square
#F18EF2 #F2BF8E #8FF28E #8EC1F2
split-complementary
#F18EF2 #C1F28E #8EF2BF
monochromatic
#E320E5 #EA57EC #F18EF2 #F8C5F8 #FCE4FC
Accessibility & contrast
On white
2.12
#F18EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#F18EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F18EF2
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F18EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F18EF2 | 1.00 | 2.12 | 9.89 | 9.89 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86AAF6
Deuteranopia (green-blind)
#A0B6EF
Tritanopia (blue-blind)
#F698B5
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #f18ef2; /* rgb */ color: rgb(241, 142, 242); /* oklch */ color: oklch(78.4% 0.172 326.7);
Tailwind
colors: {
custom: {
50: '#f7b1f6',
500: '#f18ef2',
950: '#000000',
},
}SCSS
$custom: #f18ef2; $custom-light: #f7b1f6; $custom-dark: #000000;
JSON
{
"hex": "#f18ef2",
"rgb": {
"r": 241,
"g": 142,
"b": 242
},
"hsl": {
"h": 299.4,
"s": 79.365,
"l": 75.294
},
"oklch": {
"l": 0.78437,
"c": 0.17204,
"h": 326.7
},
"luminance": 0.44458
}Semantic roles & 50–950 ramp
primary
#F18EF2
secondary
#D8F4D7
accent
#DC0A0C
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085