#F178E2#F178E2
#F178E2 is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.7% C 0.194 H 332.2°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #F178E2 |
|---|---|
| RGB | rgb(241, 120, 226) |
| HSL | hsl(307, 81%, 71%) |
| HSV | hsv(307, 50%, 95%) |
| CMYK | cmyk(0%, 50.2%, 6.2%, 5.5%) |
| CIE-LAB | lab(67.75, 59.98, -33.19) |
| CIE-LCH | lch(67.75, 68.55, 331.04°) |
| OKLab | oklab(74.66% 0.1713 -0.0903) |
| OKLCH | oklch(74.66% 0.194 332.2) |
| XYZ | xyz(56.7193, 37.6283, 76.2123) |
| Luminance | 0.3762 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.11
Violet (CSS)
#EE82EE
ΔE00 2.69
Candy Pink
#FF63E9
ΔE00 3.57
Lavender Pink
#DD85D7
ΔE00 4.17
Orchid
#DA70D6
ΔE00 4.41
Light Magenta
#FA5FF7
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F178E2 #78F187
analogous
#C378F1 #F178E2 #F178A5
triadic
#F178E2 #E2F178 #78E2F1
tetradic
#F178E2 #F1C378 #78F187 #78A5F1
square
#F178E2 #F1C378 #78F187 #78A5F1
split-complementary
#F178E2 #A5F178 #78F1C3
monochromatic
#D816C0 #EB41D6 #F178E2 #F7AFEE #FCE3F9
Accessibility & contrast
On white
2.46
#F178E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#F178E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F178E2
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F178E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F178E2 | 1.00 | 2.46 | 8.52 | 8.52 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#749AE6
Deuteranopia (green-blind)
#97ABDF
Tritanopia (blue-blind)
#FA81A3
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #f178e2; /* rgb */ color: rgb(241, 120, 226); /* oklch */ color: oklch(74.7% 0.194 332.2);
Tailwind
colors: {
custom: {
50: '#f8a3eb',
500: '#f178e2',
950: '#000000',
},
}SCSS
$custom: #f178e2; $custom-light: #f8a3eb; $custom-dark: #000000;
JSON
{
"hex": "#f178e2",
"rgb": {
"r": 241,
"g": 120,
"b": 226
},
"hsl": {
"h": 307.438,
"s": 81.208,
"l": 70.784
},
"oklch": {
"l": 0.74661,
"c": 0.19365,
"h": 332.2
},
"luminance": 0.37625
}Semantic roles & 50–950 ramp
primary
#F178E2
secondary
#D2F3D6
accent
#DE2208
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84