#F276FB#F276FB
#F276FB is a light, highly saturated purple. Relative luminance 0.388; OKLCH L 75.7% C 0.219 H 324.8°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #F276FB |
|---|---|
| RGB | rgb(242, 118, 251) |
| HSL | hsl(296, 94%, 72%) |
| HSV | hsv(296, 53%, 98%) |
| CMYK | cmyk(3.6%, 53%, 0%, 1.6%) |
| CIE-LAB | lab(68.61, 65.44, -45.60) |
| CIE-LCH | lch(68.61, 79.76, 325.13°) |
| OKLab | oklab(75.68% 0.1787 -0.1259) |
| OKLCH | oklch(75.68% 0.219 324.8) |
| XYZ | xyz(60.5075, 38.8023, 95.5506) |
| Luminance | 0.3880 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.17
Purply Pink
#F075E6
ΔE00 3.32
Violet Pink
#FB5FFC
ΔE00 3.38
Light Magenta
#FA5FF7
ΔE00 3.50
Candy Pink
#FF63E9
ΔE00 4.46
Orchid
#DA70D6
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F276FB #7FFB76
analogous
#B076FB #F276FB #FB76C1
triadic
#F276FB #FBF276 #76FBF2
tetradic
#F276FB #FBB076 #7FFB76 #76C1FB
square
#F276FB #FBB076 #7FFB76 #76C1FB
split-complementary
#F276FB #C1FB76 #76FBB0
monochromatic
#E007F0 #EC3BF9 #F276FB #F8B1FD #FCE1FE
Accessibility & contrast
On white
2.40
#F276FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.76
#F276FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F276FB
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F276FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F276FB | 1.00 | 2.40 | 8.76 | 8.76 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#8CADF7
Tritanopia (blue-blind)
#F787AE
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #f276fb; /* rgb */ color: rgb(242, 118, 251); /* oklch */ color: oklch(75.7% 0.219 324.8);
Tailwind
colors: {
custom: {
50: '#f9a3fd',
500: '#f276fb',
950: '#000000',
},
}SCSS
$custom: #f276fb; $custom-light: #f9a3fd; $custom-dark: #000000;
JSON
{
"hex": "#f276fb",
"rgb": {
"r": 242,
"g": 118,
"b": 251
},
"hsl": {
"h": 295.94,
"s": 94.326,
"l": 72.353
},
"oklch": {
"l": 0.75677,
"c": 0.21856,
"h": 324.8
},
"luminance": 0.38799
}Semantic roles & 50–950 ramp
primary
#F276FB
secondary
#D7F6D5
accent
#E60010
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85