#F162E7#F162E7
#F162E7 is a light, highly saturated purple. Relative luminance 0.332; OKLCH L 72.2% C 0.230 H 330.5°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #F162E7 |
|---|---|
| RGB | rgb(241, 98, 231) |
| HSL | hsl(304, 84%, 66%) |
| HSV | hsv(304, 59%, 95%) |
| CMYK | cmyk(0%, 59.3%, 4.1%, 5.5%) |
| CIE-LAB | lab(64.33, 70.57, -41.29) |
| CIE-LCH | lch(64.33, 81.76, 329.67°) |
| OKLab | oklab(72.22% 0.2001 -0.1133) |
| OKLCH | oklch(72.22% 0.23 330.5) |
| XYZ | xyz(55.0668, 33.2095, 79.0955) |
| Luminance | 0.3321 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.33
Candy Pink
#FF63E9
ΔE00 2.39
Violet Pink
#FB5FFC
ΔE00 2.99
Purply Pink
#F075E6
ΔE00 3.30
Orchid
#DA70D6
ΔE00 4.15
Violet (CSS)
#EE82EE
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F162E7 #62F16C
analogous
#B462F1 #F162E7 #F162A0
triadic
#F162E7 #E7F162 #62E7F1
tetradic
#F162E7 #F1B462 #62F16C #62A0F1
square
#F162E7 #F1B462 #62F16C #62A0F1
split-complementary
#F162E7 #A0F162 #62F1B4
monochromatic
#C712BA #EC2ADE #F162E7 #F69AF0 #FBD2F8
Accessibility & contrast
On white
2.75
#F162E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.64
#F162E7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F162E7
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F162E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F162E7 | 1.00 | 2.75 | 7.64 | 7.64 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#598FEB
Deuteranopia (green-blind)
#88A3E3
Tritanopia (blue-blind)
#FA709C
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #f162e7; /* rgb */ color: rgb(241, 98, 231); /* oklch */ color: oklch(72.2% 0.230 330.5);
Tailwind
colors: {
custom: {
50: '#f997ef',
500: '#f162e7',
950: '#000000',
},
}SCSS
$custom: #f162e7; $custom-light: #f997ef; $custom-dark: #000000;
JSON
{
"hex": "#f162e7",
"rgb": {
"r": 241,
"g": 98,
"b": 231
},
"hsl": {
"h": 304.196,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.7222,
"c": 0.22999,
"h": 330.5
},
"luminance": 0.33206
}Semantic roles & 50–950 ramp
primary
#F162E7
secondary
#C0EFC3
accent
#E01505
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84