#F262EF#F262EF
#F262EF is a light, highly saturated purple. Relative luminance 0.338; OKLCH L 72.7% C 0.237 H 328.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #F262EF |
|---|---|
| RGB | rgb(242, 98, 239) |
| HSL | hsl(301, 85%, 67%) |
| HSV | hsv(301, 60%, 95%) |
| CMYK | cmyk(0%, 59.5%, 1.2%, 5.1%) |
| CIE-LAB | lab(64.84, 72.11, -44.92) |
| CIE-LCH | lch(64.84, 84.96, 328.08°) |
| OKLab | oklab(72.74% 0.202 -0.1237) |
| OKLCH | oklch(72.74% 0.237 328.5) |
| XYZ | xyz(56.5649, 33.8483, 85.1987) |
| Luminance | 0.3384 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.37
Violet Pink
#FB5FFC
ΔE00 1.92
Candy Pink
#FF63E9
ΔE00 2.81
Purply Pink
#F075E6
ΔE00 3.66
Orchid
#DA70D6
ΔE00 4.84
Violet (CSS)
#EE82EE
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F262EF #62F265
analogous
#AD62F2 #F262EF #F262A7
triadic
#F262EF #EFF262 #62EFF2
tetradic
#F262EF #F2AD62 #62F265 #62A7F2
square
#F262EF #F2AD62 #62F265 #62A7F2
split-complementary
#F262EF #A7F262 #62F2AD
monochromatic
#C911C5 #ED29E9 #F262EF #F79BF5 #FBD3FB
Accessibility & contrast
On white
2.70
#F262EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#F262EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F262EF
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F262EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F262EF | 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)
#5391F3
Deuteranopia (green-blind)
#85A4EB
Tritanopia (blue-blind)
#F973A0
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #f262ef; /* rgb */ color: rgb(242, 98, 239); /* oklch */ color: oklch(72.7% 0.237 328.5);
Tailwind
colors: {
custom: {
50: '#fa97f5',
500: '#f262ef',
950: '#000000',
},
}SCSS
$custom: #f262ef; $custom-light: #fa97f5; $custom-dark: #000000;
JSON
{
"hex": "#f262ef",
"rgb": {
"r": 242,
"g": 98,
"b": 239
},
"hsl": {
"h": 301.25,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.72742,
"c": 0.23685,
"h": 328.5
},
"luminance": 0.33845
}Semantic roles & 50–950 ramp
primary
#F262EF
secondary
#C1EFC2
accent
#E10904
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85