#F27EF2#F27EF2
#F27EF2 is a light, vivid purple. Relative luminance 0.402; OKLCH L 76.3% C 0.198 H 327.3°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #F27EF2 |
|---|---|
| RGB | rgb(242, 126, 242) |
| HSL | hsl(300, 82%, 72%) |
| HSV | hsv(300, 48%, 95%) |
| CMYK | cmyk(0%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(69.62, 60.11, -39.08) |
| CIE-LCH | lch(69.62, 71.70, 326.97°) |
| OKLab | oklab(76.29% 0.167 -0.1072) |
| OKLCH | oklch(76.29% 0.198 327.3) |
| XYZ | xyz(60.1048, 40.2130, 88.5832) |
| Luminance | 0.4021 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.07
Purply Pink
#F075E6
ΔE00 2.36
Candy Pink
#FF63E9
ΔE00 4.61
Light Magenta
#FA5FF7
ΔE00 4.97
Violet Pink
#FB5FFC
ΔE00 5.09
Lavender Pink
#DD85D7
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F27EF2 #7EF27E
analogous
#B87EF2 #F27EF2 #F27EB8
triadic
#F27EF2 #F2F27E #7EF2F2
tetradic
#F27EF2 #F2B87E #7EF27E #7EB8F2
square
#F27EF2 #F2B87E #7EF27E #7EB8F2
split-complementary
#F27EF2 #B8F27E #7EF2B8
monochromatic
#DF16DF #EC46EC #F27EF2 #F8B6F8 #FCE3FC
Accessibility & contrast
On white
2.32
#F27EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#F27EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F27EF2
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F27EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F27EF2 | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#96AFEE
Tritanopia (blue-blind)
#F88AAD
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #f27ef2; /* rgb */ color: rgb(242, 126, 242); /* oklch */ color: oklch(76.3% 0.198 327.3);
Tailwind
colors: {
custom: {
50: '#f9a7f6',
500: '#f27ef2',
950: '#000000',
},
}SCSS
$custom: #f27ef2; $custom-light: #f9a7f6; $custom-dark: #000000;
JSON
{
"hex": "#f27ef2",
"rgb": {
"r": 242,
"g": 126,
"b": 242
},
"hsl": {
"h": 300,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.76294,
"c": 0.19844,
"h": 327.3
},
"luminance": 0.4021
}Semantic roles & 50–950 ramp
primary
#F27EF2
secondary
#D7F4D7
accent
#DE0707
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85