#F162DC#F162DC
#F162DC is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.7% C 0.222 H 333.8°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #F162DC |
|---|---|
| RGB | rgb(241, 98, 220) |
| HSL | hsl(309, 84%, 66%) |
| HSV | hsv(309, 59%, 95%) |
| CMYK | cmyk(0%, 59.3%, 8.7%, 5.5%) |
| CIE-LAB | lab(63.84, 68.85, -35.91) |
| CIE-LCH | lch(63.84, 77.65, 332.45°) |
| OKLab | oklab(71.7% 0.1988 -0.0979) |
| OKLCH | oklch(71.7% 0.222 333.8) |
| XYZ | xyz(53.5618, 32.6075, 71.1691) |
| Luminance | 0.3260 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Candy Pink
#FF63E9
ΔE00 2.57
Purply Pink
#F075E6
ΔE00 3.45
Orchid
#DA70D6
ΔE00 3.84
Light Magenta
#FA5FF7
ΔE00 3.96
Violet Pink
#FB5FFC
ΔE00 4.64
Purpleish Pink
#DF4EC8
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F162DC #62F177
analogous
#BF62F1 #F162DC #F16295
triadic
#F162DC #DCF162 #62DCF1
tetradic
#F162DC #F1BF62 #62F177 #6295F1
square
#F162DC #F1BF62 #62F177 #6295F1
split-complementary
#F162DC #95F162 #62F1BF
monochromatic
#C712AC #EC2ACF #F162DC #F69AE9 #FBD2F5
Accessibility & contrast
On white
2.79
#F162DC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#F162DC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F162DC
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F162DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F162DC | 1.00 | 2.79 | 7.52 | 7.52 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#608DE0
Deuteranopia (green-blind)
#8DA2D8
Tritanopia (blue-blind)
#FB6C96
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #f162dc; /* rgb */ color: rgb(241, 98, 220); /* oklch */ color: oklch(71.7% 0.222 333.8);
Tailwind
colors: {
custom: {
50: '#f996e7',
500: '#f162dc',
950: '#000000',
},
}SCSS
$custom: #f162dc; $custom-light: #f996e7; $custom-dark: #000000;
JSON
{
"hex": "#f162dc",
"rgb": {
"r": 241,
"g": 98,
"b": 220
},
"hsl": {
"h": 308.811,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.71704,
"c": 0.22158,
"h": 333.8
},
"luminance": 0.32603
}Semantic roles & 50–950 ramp
primary
#F162DC
secondary
#C0EFC7
accent
#E02605
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84