#F162F2#F162F2
#F162F2 is a light, highly saturated purple. Relative luminance 0.338; OKLCH L 72.8% C 0.239 H 327.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #F162F2 |
|---|---|
| RGB | rgb(241, 98, 242) |
| HSL | hsl(300, 85%, 67%) |
| HSV | hsv(300, 60%, 95%) |
| CMYK | cmyk(0.4%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(64.84, 72.37, -46.58) |
| CIE-LCH | lch(64.84, 86.06, 327.23°) |
| OKLab | oklab(72.76% 0.2011 -0.1286) |
| OKLCH | oklch(72.76% 0.239 327.4) |
| XYZ | xyz(56.6694, 33.8506, 87.5361) |
| Luminance | 0.3385 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.31
Violet Pink
#FB5FFC
ΔE00 1.70
Candy Pink
#FF63E9
ΔE00 3.28
Purply Pink
#F075E6
ΔE00 3.98
Orchid
#DA70D6
ΔE00 5.08
Violet (CSS)
#EE82EE
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F162F2 #63F262
analogous
#A962F2 #F162F2 #F262AB
triadic
#F162F2 #F2F162 #62F2F1
tetradic
#F162F2 #F2A962 #63F262 #62ABF2
square
#F162F2 #F2A962 #63F262 #62ABF2
split-complementary
#F162F2 #ABF262 #62F2A9
monochromatic
#C811C9 #EC29ED #F162F2 #F69BF7 #FBD3FB
Accessibility & contrast
On white
2.70
#F162F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#F162F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F162F2
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F162F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F162F2 | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#83A4EE
Tritanopia (blue-blind)
#F874A1
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #f162f2; /* rgb */ color: rgb(241, 98, 242); /* oklch */ color: oklch(72.8% 0.239 327.4);
Tailwind
colors: {
custom: {
50: '#f997f7',
500: '#f162f2',
950: '#000000',
},
}SCSS
$custom: #f162f2; $custom-light: #f997f7; $custom-dark: #000000;
JSON
{
"hex": "#f162f2",
"rgb": {
"r": 241,
"g": 98,
"b": 242
},
"hsl": {
"h": 299.583,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.72761,
"c": 0.23872,
"h": 327.4
},
"luminance": 0.33847
}Semantic roles & 50–950 ramp
primary
#F162F2
secondary
#C1EFC1
accent
#E10406
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85