#F262FB#F262FB
#F262FB is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 73.4% C 0.247 H 325.3°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #F262FB |
|---|---|
| RGB | rgb(242, 98, 251) |
| HSL | hsl(296, 95%, 68%) |
| HSV | hsv(296, 61%, 98%) |
| CMYK | cmyk(3.6%, 61%, 0%, 1.6%) |
| CIE-LAB | lab(65.42, 74.11, -50.63) |
| CIE-LCH | lch(65.42, 89.75, 325.66°) |
| OKLab | oklab(73.35% 0.2028 -0.1403) |
| OKLCH | oklch(73.35% 0.247 325.3) |
| XYZ | xyz(58.3969, 34.5811, 94.8470) |
| Luminance | 0.3458 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 1.33
Light Magenta
#FA5FF7
ΔE00 1.55
Candy Pink
#FF63E9
ΔE00 4.18
Purply Pink
#F075E6
ΔE00 4.78
Heliotrope
#D94FF5
ΔE00 6.02
Violet (CSS)
#EE82EE
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F262FB #6BFB62
analogous
#A562FB #F262FB #FB62B7
triadic
#F262FB #FBF262 #62FBF2
tetradic
#F262FB #FBA562 #6BFB62 #62B7FB
square
#F262FB #FBA562 #6BFB62 #62B7FB
split-complementary
#F262FB #B7FB62 #62FBA5
monochromatic
#D006DD #ED26F9 #F262FB #F79EFD #FCD9FE
Accessibility & contrast
On white
2.65
#F262FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#F262FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F262FB
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F262FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F262FB | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#7FA5F7
Tritanopia (blue-blind)
#F778A6
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #f262fb; /* rgb */ color: rgb(242, 98, 251); /* oklch */ color: oklch(73.4% 0.247 325.3);
Tailwind
colors: {
custom: {
50: '#fa97fd',
500: '#f262fb',
950: '#000000',
},
}SCSS
$custom: #f262fb; $custom-light: #fa97fd; $custom-dark: #000000;
JSON
{
"hex": "#f262fb",
"rgb": {
"r": 242,
"g": 98,
"b": 251
},
"hsl": {
"h": 296.471,
"s": 95.031,
"l": 68.431
},
"oklch": {
"l": 0.73351,
"c": 0.24655,
"h": 325.3
},
"luminance": 0.34578
}Semantic roles & 50–950 ramp
primary
#F262FB
secondary
#C8F3C5
accent
#E6000D
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E18
muted
#867E86