#F276DF#F276DF
#F276DF is a light, vivid purple. Relative luminance 0.372; OKLCH L 74.4% C 0.195 H 333.5°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #F276DF |
|---|---|
| RGB | rgb(242, 118, 223) |
| HSL | hsl(309, 83%, 71%) |
| HSV | hsv(309, 51%, 95%) |
| CMYK | cmyk(0%, 51.2%, 7.9%, 5.1%) |
| CIE-LAB | lab(67.40, 60.71, -32.05) |
| CIE-LCH | lch(67.40, 68.65, 332.17°) |
| OKLab | oklab(74.39% 0.1745 -0.0871) |
| OKLCH | oklch(74.39% 0.195 333.5) |
| XYZ | xyz(56.4156, 37.1656, 74.0000) |
| Luminance | 0.3716 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.50
Violet (CSS)
#EE82EE
ΔE00 3.32
Candy Pink
#FF63E9
ΔE00 3.42
Lavender Pink
#DD85D7
ΔE00 4.36
Orchid
#DA70D6
ΔE00 4.40
Light Magenta
#FA5FF7
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F276DF #76F289
analogous
#C776F2 #F276DF #F276A1
triadic
#F276DF #DFF276 #76DFF2
tetradic
#F276DF #F2C776 #76F289 #76A1F2
square
#F276DF #F2C776 #76F289 #76A1F2
split-complementary
#F276DF #A1F276 #76F2C7
monochromatic
#D915BB #ED3ED2 #F276DF #F7AEEC #FCE3F8
Accessibility & contrast
On white
2.49
#F276DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.43
#F276DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F276DF
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F276DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F276DF | 1.00 | 2.49 | 8.43 | 8.43 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7499E2
Deuteranopia (green-blind)
#98ABDC
Tritanopia (blue-blind)
#FB7EA0
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #f276df; /* rgb */ color: rgb(242, 118, 223); /* oklch */ color: oklch(74.4% 0.195 333.5);
Tailwind
colors: {
custom: {
50: '#f9a2e9',
500: '#f276df',
950: '#000000',
},
}SCSS
$custom: #f276df; $custom-light: #f9a2e9; $custom-dark: #000000;
JSON
{
"hex": "#f276df",
"rgb": {
"r": 242,
"g": 118,
"b": 223
},
"hsl": {
"h": 309.194,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.74393,
"c": 0.19503,
"h": 333.5
},
"luminance": 0.37162
}Semantic roles & 50–950 ramp
primary
#F276DF
secondary
#D1F3D6
accent
#DF2806
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84