#F262F4#F262F4
#F262F4 is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 73.0% C 0.241 H 327.1°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #F262F4 |
|---|---|
| RGB | rgb(242, 98, 244) |
| HSL | hsl(299, 87%, 67%) |
| HSV | hsv(299, 60%, 96%) |
| CMYK | cmyk(0.8%, 59.8%, 0%, 4.3%) |
| CIE-LAB | lab(65.08, 72.94, -47.31) |
| CIE-LCH | lch(65.08, 86.94, 327.03°) |
| OKLab | oklab(72.99% 0.2023 -0.1306) |
| OKLCH | oklch(72.99% 0.241 327.1) |
| XYZ | xyz(57.3138, 34.1479, 89.1428) |
| Luminance | 0.3414 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.14
Violet Pink
#FB5FFC
ΔE00 1.45
Candy Pink
#FF63E9
ΔE00 3.35
Purply Pink
#F075E6
ΔE00 4.08
Orchid
#DA70D6
ΔE00 5.33
Violet (CSS)
#EE82EE
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F262F4 #64F462
analogous
#A962F4 #F262F4 #F462AD
triadic
#F262F4 #F4F262 #62F4F2
tetradic
#F262F4 #F4A962 #64F462 #62ADF4
square
#F262F4 #F4A962 #64F462 #62ADF4
split-complementary
#F262F4 #ADF462 #62F4A9
monochromatic
#CB0ECD #ED29F0 #F262F4 #F79BF8 #FBD4FC
Accessibility & contrast
On white
2.68
#F262F4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#F262F4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F262F4
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F262F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F262F4 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F92F8
Deuteranopia (green-blind)
#82A4F0
Tritanopia (blue-blind)
#F975A2
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #f262f4; /* rgb */ color: rgb(242, 98, 244); /* oklch */ color: oklch(73.0% 0.241 327.1);
Tailwind
colors: {
custom: {
50: '#fa97f8',
500: '#f262f4',
950: '#000000',
},
}SCSS
$custom: #f262f4; $custom-light: #fa97f8; $custom-dark: #000000;
JSON
{
"hex": "#f262f4",
"rgb": {
"r": 242,
"g": 98,
"b": 244
},
"hsl": {
"h": 299.178,
"s": 86.905,
"l": 67.059
},
"oklch": {
"l": 0.72992,
"c": 0.24085,
"h": 327.1
},
"luminance": 0.34144
}Semantic roles & 50–950 ramp
primary
#F262F4
secondary
#C2F0C2
accent
#E30205
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85