#F296F2#F296F2
#F296F2 is a light, vivid purple. Relative luminance 0.471; OKLCH L 79.8% C 0.159 H 326.9°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #F296F2 |
|---|---|
| RGB | rgb(242, 150, 242) |
| HSL | hsl(300, 78%, 77%) |
| HSV | hsv(300, 38%, 95%) |
| CMYK | cmyk(0%, 38%, 0%, 5.1%) |
| CIE-LAB | lab(74.26, 48.18, -31.90) |
| CIE-LCH | lch(74.26, 57.78, 326.50°) |
| OKLab | oklab(79.75% 0.1335 -0.0869) |
| OKLCH | oklch(79.75% 0.159 326.9) |
| XYZ | xyz(63.5500, 47.1035, 89.7316) |
| Luminance | 0.4710 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.26
Lavender Pink
#DD85D7
ΔE00 5.54
Plum
#DDA0DD
ΔE00 5.86
Purply Pink
#F075E6
ΔE00 6.62
Mauve
#E0B0FF
ΔE00 7.77
Bubblegum Pink
#FE83CC
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F296F2 #96F296
analogous
#C496F2 #F296F2 #F296C4
triadic
#F296F2 #F2F296 #96F2F2
tetradic
#F296F2 #F2C496 #96F296 #96C4F2
square
#F296F2 #F2C496 #96F296 #96C4F2
split-complementary
#F296F2 #C4F296 #96F2C4
monochromatic
#E529E5 #EB60EB #F296F2 #F9CCF9 #FCE4FC
Accessibility & contrast
On white
2.02
#F296F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.42
#F296F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F296F2
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F296F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F296F2 | 1.00 | 2.02 | 10.42 | 10.42 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FAFF5
Deuteranopia (green-blind)
#A7BBEF
Tritanopia (blue-blind)
#F79FB9
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #f296f2; /* rgb */ color: rgb(242, 150, 242); /* oklch */ color: oklch(79.8% 0.159 326.9);
Tailwind
colors: {
custom: {
50: '#f8b7f6',
500: '#f296f2',
950: '#000000',
},
}SCSS
$custom: #f296f2; $custom-light: #f8b7f6; $custom-dark: #000000;
JSON
{
"hex": "#f296f2",
"rgb": {
"r": 242,
"g": 150,
"b": 242
},
"hsl": {
"h": 300,
"s": 77.966,
"l": 76.863
},
"oklch": {
"l": 0.79752,
"c": 0.15932,
"h": 326.9
},
"luminance": 0.47101
}Semantic roles & 50–950 ramp
primary
#F296F2
secondary
#D8F3D8
accent
#DA0B0B
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085