#F262F2#F262F2
#F262F2 is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.9% C 0.239 H 327.7°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #F262F2 |
|---|---|
| RGB | rgb(242, 98, 242) |
| HSL | hsl(300, 85%, 67%) |
| HSV | hsv(300, 60%, 95%) |
| CMYK | cmyk(0%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(64.98, 72.61, -46.35) |
| CIE-LCH | lch(64.98, 86.14, 327.45°) |
| OKLab | oklab(72.89% 0.2022 -0.1279) |
| OKLCH | oklch(72.89% 0.239 327.7) |
| XYZ | xyz(57.0118, 34.0271, 87.5522) |
| Luminance | 0.3402 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.18
Violet Pink
#FB5FFC
ΔE00 1.61
Candy Pink
#FF63E9
ΔE00 3.12
Purply Pink
#F075E6
ΔE00 3.90
Orchid
#DA70D6
ΔE00 5.13
Violet (CSS)
#EE82EE
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F262F2 #62F262
analogous
#AA62F2 #F262F2 #F262AA
triadic
#F262F2 #F2F262 #62F2F2
tetradic
#F262F2 #F2AA62 #62F262 #62AAF2
square
#F262F2 #F2AA62 #62F262 #62AAF2
split-complementary
#F262F2 #AAF262 #62F2AA
monochromatic
#C911C9 #ED29ED #F262F2 #F79BF7 #FBD3FB
Accessibility & contrast
On white
2.69
#F262F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#F262F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F262F2
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F262F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F262F2 | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#84A4EE
Tritanopia (blue-blind)
#F974A1
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #f262f2; /* rgb */ color: rgb(242, 98, 242); /* oklch */ color: oklch(72.9% 0.239 327.7);
Tailwind
colors: {
custom: {
50: '#fa97f7',
500: '#f262f2',
950: '#000000',
},
}SCSS
$custom: #f262f2; $custom-light: #fa97f7; $custom-dark: #000000;
JSON
{
"hex": "#f262f2",
"rgb": {
"r": 242,
"g": 98,
"b": 242
},
"hsl": {
"h": 300,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.72891,
"c": 0.23925,
"h": 327.7
},
"luminance": 0.34023
}Semantic roles & 50–950 ramp
primary
#F262F2
secondary
#C1EFC1
accent
#E10404
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85