#F277E2#F277E2
#F277E2 is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.7% C 0.196 H 332.5°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #F277E2 |
|---|---|
| RGB | rgb(242, 119, 226) |
| HSL | hsl(308, 83%, 71%) |
| HSV | hsv(308, 51%, 95%) |
| CMYK | cmyk(0%, 50.8%, 6.6%, 5.1%) |
| CIE-LAB | lab(67.70, 60.73, -33.25) |
| CIE-LCH | lch(67.70, 69.24, 331.30°) |
| OKLab | oklab(74.65% 0.1737 -0.0905) |
| OKLCH | oklch(74.65% 0.196 332.5) |
| XYZ | xyz(56.9421, 37.5656, 76.1885) |
| Luminance | 0.3756 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.10
Violet (CSS)
#EE82EE
ΔE00 2.84
Candy Pink
#FF63E9
ΔE00 3.38
Lavender Pink
#DD85D7
ΔE00 4.36
Orchid
#DA70D6
ΔE00 4.46
Light Magenta
#FA5FF7
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F277E2 #77F287
analogous
#C477F2 #F277E2 #F277A4
triadic
#F277E2 #E2F277 #77E2F2
tetradic
#F277E2 #F2C477 #77F287 #77A4F2
square
#F277E2 #F2C477 #77F287 #77A4F2
split-complementary
#F277E2 #A4F277 #77F2C4
monochromatic
#DA15C0 #ED3FD6 #F277E2 #F7AFEE #FCE3F9
Accessibility & contrast
On white
2.47
#F277E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.51
#F277E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F277E2
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F277E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F277E2 | 1.00 | 2.47 | 8.51 | 8.51 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#749AE6
Deuteranopia (green-blind)
#97ABDF
Tritanopia (blue-blind)
#FB80A2
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #f277e2; /* rgb */ color: rgb(242, 119, 226); /* oklch */ color: oklch(74.7% 0.196 332.5);
Tailwind
colors: {
custom: {
50: '#f9a3eb',
500: '#f277e2',
950: '#000000',
},
}SCSS
$custom: #f277e2; $custom-light: #f9a3eb; $custom-dark: #000000;
JSON
{
"hex": "#f277e2",
"rgb": {
"r": 242,
"g": 119,
"b": 226
},
"hsl": {
"h": 307.805,
"s": 82.55,
"l": 70.784
},
"oklch": {
"l": 0.74653,
"c": 0.19588,
"h": 332.5
},
"luminance": 0.37562
}Semantic roles & 50–950 ramp
primary
#F277E2
secondary
#D2F3D6
accent
#DF2307
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84