#FE7FF2#FE7FF2
#FE7FF2 is a light, highly saturated purple. Relative luminance 0.427; OKLCH L 77.9% C 0.204 H 331.0°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #FE7FF2 |
|---|---|
| RGB | rgb(254, 127, 242) |
| HSL | hsl(306, 98%, 75%) |
| HSV | hsv(306, 50%, 100%) |
| CMYK | cmyk(0%, 50%, 4.7%, 0.4%) |
| CIE-LAB | lab(71.33, 62.95, -36.31) |
| CIE-LCH | lch(71.33, 72.67, 330.02°) |
| OKLab | oklab(77.88% 0.1787 -0.0991) |
| OKLCH | oklch(77.88% 0.204 331) |
| XYZ | xyz(64.4890, 42.6644, 88.8255) |
| Luminance | 0.4266 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.46
Purply Pink
#F075E6
ΔE00 3.20
Candy Pink
#FF63E9
ΔE00 4.60
Light Magenta
#FA5FF7
ΔE00 5.76
Lavender Pink
#DD85D7
ΔE00 5.90
Violet Pink
#FB5FFC
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FE7FF2 #7FFE8B
analogous
#CA7FFE #FE7FF2 #FE7FB3
triadic
#FE7FF2 #F2FE7F #7FF2FE
tetradic
#FE7FF2 #FECA7F #7FFE8B #7FB3FE
square
#FE7FF2 #FECA7F #7FFE8B #7FB3FE
split-complementary
#FE7FF2 #B3FE7F #7FFECA
monochromatic
#FD06E6 #FE42EC #FE7FF2 #FEBCF8 #FFE1FC
Accessibility & contrast
On white
2.20
#FE7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#FE7FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FE7FF2
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FE7FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FE7FF2 | 1.00 | 2.20 | 9.53 | 9.53 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A3F6
Deuteranopia (green-blind)
#9EB5EE
Tritanopia (blue-blind)
#FF89AE
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #fe7ff2; /* rgb */ color: rgb(254, 127, 242); /* oklch */ color: oklch(77.9% 0.204 331.0);
Tailwind
colors: {
custom: {
50: '#ffa9f6',
500: '#fe7ff2',
950: '#000000',
},
}SCSS
$custom: #fe7ff2; $custom-light: #ffa9f6; $custom-dark: #000000;
JSON
{
"hex": "#fe7ff2",
"rgb": {
"r": 254,
"g": 127,
"b": 242
},
"hsl": {
"h": 305.669,
"s": 98.45,
"l": 74.706
},
"oklch": {
"l": 0.77876,
"c": 0.20431,
"h": 331
},
"luminance": 0.4266
}Semantic roles & 50–950 ramp
primary
#FE7FF2
secondary
#D4F7D7
accent
#E61600
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85