#F262F0#F262F0
#F262F0 is a light, highly saturated purple. Relative luminance 0.339; OKLCH L 72.8% C 0.238 H 328.2°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #F262F0 |
|---|---|
| RGB | rgb(242, 98, 240) |
| HSL | hsl(301, 85%, 67%) |
| HSV | hsv(301, 60%, 95%) |
| CMYK | cmyk(0%, 59.5%, 0.8%, 5.1%) |
| CIE-LAB | lab(64.89, 72.28, -45.39) |
| CIE-LCH | lch(64.89, 85.35, 327.87°) |
| OKLab | oklab(72.79% 0.202 -0.1251) |
| OKLCH | oklch(72.79% 0.238 328.2) |
| XYZ | xyz(56.7131, 33.9076, 85.9789) |
| Luminance | 0.3390 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.29
Violet Pink
#FB5FFC
ΔE00 1.81
Candy Pink
#FF63E9
ΔE00 2.91
Purply Pink
#F075E6
ΔE00 3.73
Orchid
#DA70D6
ΔE00 4.94
Violet (CSS)
#EE82EE
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F262F0 #62F264
analogous
#AC62F2 #F262F0 #F262A8
triadic
#F262F0 #F0F262 #62F0F2
tetradic
#F262F0 #F2AC62 #62F264 #62A8F2
square
#F262F0 #F2AC62 #62F264 #62A8F2
split-complementary
#F262F0 #A8F262 #62F2AC
monochromatic
#C911C6 #ED29EB #F262F0 #F79BF5 #FBD3FB
Accessibility & contrast
On white
2.70
#F262F0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#F262F0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F262F0
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F262F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F262F0 | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5291F4
Deuteranopia (green-blind)
#84A4EC
Tritanopia (blue-blind)
#F973A0
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #f262f0; /* rgb */ color: rgb(242, 98, 240); /* oklch */ color: oklch(72.8% 0.238 328.2);
Tailwind
colors: {
custom: {
50: '#fa97f5',
500: '#f262f0',
950: '#000000',
},
}SCSS
$custom: #f262f0; $custom-light: #fa97f5; $custom-dark: #000000;
JSON
{
"hex": "#f262f0",
"rgb": {
"r": 242,
"g": 98,
"b": 240
},
"hsl": {
"h": 300.833,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.72791,
"c": 0.23765,
"h": 328.2
},
"luminance": 0.33904
}Semantic roles & 50–950 ramp
primary
#F262F0
secondary
#C1EFC1
accent
#E10704
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180E17
muted
#867E85