#F296FE#F296FE
#F296FE is a light, vivid purple. Relative luminance 0.478; OKLCH L 80.3% C 0.171 H 322.8°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #F296FE |
|---|---|
| RGB | rgb(242, 150, 254) |
| HSL | hsl(293, 98%, 79%) |
| HSV | hsv(293, 41%, 100%) |
| CMYK | cmyk(4.7%, 40.9%, 0%, 0.4%) |
| CIE-LAB | lab(74.73, 50.37, -37.68) |
| CIE-LCH | lch(74.73, 62.90, 323.20°) |
| OKLab | oklab(80.26% 0.136 -0.1033) |
| OKLCH | oklch(80.26% 0.171 322.8) |
| XYZ | xyz(65.4118, 47.8482, 99.5367) |
| Luminance | 0.4785 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.40
Lavender Pink
#DD85D7
ΔE00 6.79
Purply Pink
#F075E6
ΔE00 6.99
Mauve
#E0B0FF
ΔE00 7.36
Plum
#DDA0DD
ΔE00 7.37
Baby Purple
#CA9BF7
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F296FE #A2FE96
analogous
#BE96FE #F296FE #FE96D6
triadic
#F296FE #FEF296 #96FEF2
tetradic
#F296FE #FEBE96 #A2FE96 #96D6FE
square
#F296FE #FEBE96 #A2FE96 #96D6FE
split-complementary
#F296FE #D6FE96 #96FEBE
monochromatic
#E31DFD #EA59FD #F296FE #FAD3FF #FBE1FF
Accessibility & contrast
On white
1.99
#F296FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.57
#F296FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F296FE
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F296FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F296FE | 1.00 | 1.99 | 10.57 | 10.57 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#A2BCFB
Tritanopia (blue-blind)
#F5A2BE
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #f296fe; /* rgb */ color: rgb(242, 150, 254); /* oklch */ color: oklch(80.3% 0.171 322.8);
Tailwind
colors: {
custom: {
50: '#f8b7ff',
500: '#f296fe',
950: '#000000',
},
}SCSS
$custom: #f296fe; $custom-light: #f8b7ff; $custom-dark: #000000;
JSON
{
"hex": "#f296fe",
"rgb": {
"r": 242,
"g": 150,
"b": 254
},
"hsl": {
"h": 293.077,
"s": 98.113,
"l": 79.216
},
"oklch": {
"l": 0.80262,
"c": 0.17084,
"h": 322.8
},
"luminance": 0.47846
}Semantic roles & 50–950 ramp
primary
#F296FE
secondary
#D8F7D4
accent
#E6001A
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086