#F262F1#F262F1
#F262F1 is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.8% C 0.238 H 328.0°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #F262F1 |
|---|---|
| RGB | rgb(242, 98, 241) |
| HSL | hsl(300, 85%, 67%) |
| HSV | hsv(300, 60%, 95%) |
| CMYK | cmyk(0%, 59.5%, 0.4%, 5.1%) |
| CIE-LAB | lab(64.94, 72.44, -45.87) |
| CIE-LCH | lch(64.94, 85.75, 327.66°) |
| OKLab | oklab(72.84% 0.2021 -0.1265) |
| OKLCH | oklch(72.84% 0.238 328) |
| XYZ | xyz(56.8620, 33.9672, 86.7634) |
| Luminance | 0.3396 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.22
Violet Pink
#FB5FFC
ΔE00 1.71
Candy Pink
#FF63E9
ΔE00 3.01
Purply Pink
#F075E6
ΔE00 3.81
Orchid
#DA70D6
ΔE00 5.03
Violet (CSS)
#EE82EE
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F262F1 #62F263
analogous
#AB62F2 #F262F1 #F262A9
triadic
#F262F1 #F1F262 #62F1F2
tetradic
#F262F1 #F2AB62 #62F263 #62A9F2
square
#F262F1 #F2AB62 #62F263 #62A9F2
split-complementary
#F262F1 #A9F262 #62F2AB
monochromatic
#C911C8 #ED29EC #F262F1 #F79BF6 #FBD3FB
Accessibility & contrast
On white
2.69
#F262F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#F262F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F262F1
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F262F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F262F1 | 1.00 | 2.69 | 7.79 | 7.79 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5291F5
Deuteranopia (green-blind)
#84A4ED
Tritanopia (blue-blind)
#F974A1
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #f262f1; /* rgb */ color: rgb(242, 98, 241); /* oklch */ color: oklch(72.8% 0.238 328.0);
Tailwind
colors: {
custom: {
50: '#fa97f6',
500: '#f262f1',
950: '#000000',
},
}SCSS
$custom: #f262f1; $custom-light: #fa97f6; $custom-dark: #000000;
JSON
{
"hex": "#f262f1",
"rgb": {
"r": 242,
"g": 98,
"b": 241
},
"hsl": {
"h": 300.417,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.72841,
"c": 0.23845,
"h": 328
},
"luminance": 0.33963
}Semantic roles & 50–950 ramp
primary
#F262F1
secondary
#C1EFC1
accent
#E10604
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180E17
muted
#867E85