#F296EF#F296EF
#F296EF is a light, vivid purple. Relative luminance 0.469; OKLCH L 79.6% C 0.157 H 328.1°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #F296EF |
|---|---|
| RGB | rgb(242, 150, 239) |
| HSL | hsl(302, 78%, 77%) |
| HSV | hsv(302, 38%, 95%) |
| CMYK | cmyk(0%, 38%, 1.2%, 5.1%) |
| CIE-LAB | lab(74.14, 47.65, -30.44) |
| CIE-LCH | lch(74.14, 56.54, 327.43°) |
| OKLab | oklab(79.63% 0.1329 -0.0828) |
| OKLCH | oklch(79.63% 0.157 328.1) |
| XYZ | xyz(63.1032, 46.9248, 87.3781) |
| Luminance | 0.4692 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.42
Lavender Pink
#DD85D7
ΔE00 5.33
Plum
#DDA0DD
ΔE00 5.54
Purply Pink
#F075E6
ΔE00 6.64
Bubblegum Pink
#FE83CC
ΔE00 7.79
Mauve
#E0B0FF
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F296EF #96F299
analogous
#C796F2 #F296EF #F296C1
triadic
#F296EF #EFF296 #96EFF2
tetradic
#F296EF #F2C796 #96F299 #96C1F2
square
#F296EF #F2C796 #96F299 #96C1F2
split-complementary
#F296EF #C1F296 #96F2C7
monochromatic
#E529DE #EB60E7 #F296EF #F9CCF7 #FCE4FB
Accessibility & contrast
On white
2.02
#F296EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.38
#F296EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F296EF
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F296EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F296EF | 1.00 | 2.02 | 10.38 | 10.38 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90AFF2
Deuteranopia (green-blind)
#A8BBEC
Tritanopia (blue-blind)
#F89EB8
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #f296ef; /* rgb */ color: rgb(242, 150, 239); /* oklch */ color: oklch(79.6% 0.157 328.1);
Tailwind
colors: {
custom: {
50: '#f8b7f4',
500: '#f296ef',
950: '#000000',
},
}SCSS
$custom: #f296ef; $custom-light: #f8b7f4; $custom-dark: #000000;
JSON
{
"hex": "#f296ef",
"rgb": {
"r": 242,
"g": 150,
"b": 239
},
"hsl": {
"h": 301.957,
"s": 77.966,
"l": 76.863
},
"oklch": {
"l": 0.79628,
"c": 0.15654,
"h": 328.1
},
"luminance": 0.46922
}Semantic roles & 50–950 ramp
primary
#F296EF
secondary
#D8F3D8
accent
#DA120B
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085