#F276F6#F276F6
#F276F6 is a light, highly saturated purple. Relative luminance 0.385; OKLCH L 75.4% C 0.214 H 326.2°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #F276F6 |
|---|---|
| RGB | rgb(242, 118, 246) |
| HSL | hsl(298, 88%, 71%) |
| HSV | hsv(298, 52%, 96%) |
| CMYK | cmyk(1.6%, 52%, 0%, 3.5%) |
| CIE-LAB | lab(68.38, 64.56, -43.22) |
| CIE-LCH | lch(68.38, 77.69, 326.20°) |
| OKLab | oklab(75.44% 0.1781 -0.119) |
| OKLCH | oklch(75.44% 0.214 326.2) |
| XYZ | xyz(59.7298, 38.4912, 91.4543) |
| Luminance | 0.3849 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 2.53
Violet (CSS)
#EE82EE
ΔE00 2.67
Light Magenta
#FA5FF7
ΔE00 3.43
Violet Pink
#FB5FFC
ΔE00 3.47
Candy Pink
#FF63E9
ΔE00 3.93
Orchid
#DA70D6
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F276F6 #7AF676
analogous
#B276F6 #F276F6 #F676BA
triadic
#F276F6 #F6F276 #76F6F2
tetradic
#F276F6 #F6B276 #7AF676 #76BAF6
square
#F276F6 #F6B276 #7AF676 #76BAF6
split-complementary
#F276F6 #BAF676 #76F6B2
monochromatic
#DC0FE3 #ED3DF2 #F276F6 #F7AFFA #FCE2FD
Accessibility & contrast
On white
2.41
#F276F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#F276F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F276F6
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F276F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F276F6 | 1.00 | 2.41 | 8.70 | 8.70 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689DFA
Deuteranopia (green-blind)
#8EACF2
Tritanopia (blue-blind)
#F885AB
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #f276f6; /* rgb */ color: rgb(242, 118, 246); /* oklch */ color: oklch(75.4% 0.214 326.2);
Tailwind
colors: {
custom: {
50: '#f9a2f9',
500: '#f276f6',
950: '#000000',
},
}SCSS
$custom: #f276f6; $custom-light: #f9a2f9; $custom-dark: #000000;
JSON
{
"hex": "#f276f6",
"rgb": {
"r": 242,
"g": 118,
"b": 246
},
"hsl": {
"h": 298.125,
"s": 87.671,
"l": 71.373
},
"oklch": {
"l": 0.75437,
"c": 0.21419,
"h": 326.2
},
"luminance": 0.38488
}Semantic roles & 50–950 ramp
primary
#F276F6
secondary
#D4F5D3
accent
#E40108
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85