#F277F2#F277F2
#F277F2 is a light, highly saturated purple. Relative luminance 0.385; OKLCH L 75.4% C 0.209 H 327.4°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #F277F2 |
|---|---|
| RGB | rgb(242, 119, 242) |
| HSL | hsl(300, 83%, 71%) |
| HSV | hsv(300, 51%, 95%) |
| CMYK | cmyk(0%, 50.8%, 0%, 5.1%) |
| CIE-LAB | lab(68.38, 63.41, -41.03) |
| CIE-LCH | lch(68.38, 75.52, 327.10°) |
| OKLab | oklab(75.38% 0.1763 -0.1127) |
| OKLCH | oklch(75.38% 0.209 327.4) |
| XYZ | xyz(59.2408, 38.4851, 88.2952) |
| Luminance | 0.3848 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.89
Violet (CSS)
#EE82EE
ΔE00 2.21
Candy Pink
#FF63E9
ΔE00 3.67
Light Magenta
#FA5FF7
ΔE00 3.70
Violet Pink
#FB5FFC
ΔE00 3.85
Orchid
#DA70D6
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F277F2 #77F277
analogous
#B477F2 #F277F2 #F277B4
triadic
#F277F2 #F2F277 #77F2F2
tetradic
#F277F2 #F2B477 #77F277 #77B4F2
square
#F277F2 #F2B477 #77F277 #77B4F2
split-complementary
#F277F2 #B4F277 #77F2B4
monochromatic
#DA15DA #ED3FED #F277F2 #F7AFF7 #FCE3FC
Accessibility & contrast
On white
2.41
#F277F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#F277F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F277F2
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F277F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F277F2 | 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)
#6B9DF6
Deuteranopia (green-blind)
#91ACEE
Tritanopia (blue-blind)
#F885AA
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #f277f2; /* rgb */ color: rgb(242, 119, 242); /* oklch */ color: oklch(75.4% 0.209 327.4);
Tailwind
colors: {
custom: {
50: '#f9a3f6',
500: '#f277f2',
950: '#000000',
},
}SCSS
$custom: #f277f2; $custom-light: #f9a3f6; $custom-dark: #000000;
JSON
{
"hex": "#f277f2",
"rgb": {
"r": 242,
"g": 119,
"b": 242
},
"hsl": {
"h": 300,
"s": 82.55,
"l": 70.784
},
"oklch": {
"l": 0.75375,
"c": 0.20922,
"h": 327.4
},
"luminance": 0.38482
}Semantic roles & 50–950 ramp
primary
#F277F2
secondary
#D2F3D2
accent
#DF0707
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85