#F262DF#F262DF
#F262DF is a light, highly saturated purple. Relative luminance 0.329; OKLCH L 72.0% C 0.224 H 333.1°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #F262DF |
|---|---|
| RGB | rgb(242, 98, 223) |
| HSL | hsl(308, 85%, 67%) |
| HSV | hsv(308, 60%, 95%) |
| CMYK | cmyk(0%, 59.5%, 7.9%, 5.1%) |
| CIE-LAB | lab(64.12, 69.57, -37.15) |
| CIE-LCH | lch(64.12, 78.87, 331.90°) |
| OKLab | oklab(71.97% 0.2002 -0.1014) |
| OKLCH | oklch(71.97% 0.224 333.1) |
| XYZ | xyz(54.3050, 32.9444, 73.2964) |
| Luminance | 0.3294 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Candy Pink
#FF63E9
ΔE00 2.26
Purply Pink
#F075E6
ΔE00 3.27
Light Magenta
#FA5FF7
ΔE00 3.50
Orchid
#DA70D6
ΔE00 3.95
Violet Pink
#FB5FFC
ΔE00 4.18
Violet (CSS)
#EE82EE
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F262DF #62F275
analogous
#BD62F2 #F262DF #F26297
triadic
#F262DF #DFF262 #62DFF2
tetradic
#F262DF #F2BD62 #62F275 #6297F2
square
#F262DF #F2BD62 #62F275 #6297F2
split-complementary
#F262DF #97F262 #62F2BD
monochromatic
#C911B1 #ED29D3 #F262DF #F79BEB #FBD3F6
Accessibility & contrast
On white
2.77
#F262DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.59
#F262DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F262DF
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F262DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F262DF | 1.00 | 2.77 | 7.59 | 7.59 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E8EE3
Deuteranopia (green-blind)
#8CA3DB
Tritanopia (blue-blind)
#FC6D98
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #f262df; /* rgb */ color: rgb(242, 98, 223); /* oklch */ color: oklch(72.0% 0.224 333.1);
Tailwind
colors: {
custom: {
50: '#fa96e9',
500: '#f262df',
950: '#000000',
},
}SCSS
$custom: #f262df; $custom-light: #fa96e9; $custom-dark: #000000;
JSON
{
"hex": "#f262df",
"rgb": {
"r": 242,
"g": 98,
"b": 223
},
"hsl": {
"h": 307.917,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.71975,
"c": 0.22445,
"h": 333.1
},
"luminance": 0.3294
}Semantic roles & 50–950 ramp
primary
#F262DF
secondary
#C1EFC7
accent
#E12104
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84