#FE7BF2#FE7BF2
#FE7BF2 is a light, highly saturated purple. Relative luminance 0.416; OKLCH L 77.4% C 0.210 H 331.0°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #FE7BF2 |
|---|---|
| RGB | rgb(254, 123, 242) |
| HSL | hsl(305, 98%, 74%) |
| HSV | hsv(305, 52%, 100%) |
| CMYK | cmyk(0%, 51.6%, 4.7%, 0.4%) |
| CIE-LAB | lab(70.63, 64.80, -37.40) |
| CIE-LCH | lch(70.63, 74.82, 330.01°) |
| OKLab | oklab(77.36% 0.184 -0.1021) |
| OKLCH | oklch(77.36% 0.21 331) |
| XYZ | xyz(63.9826, 41.6516, 88.6567) |
| Luminance | 0.4165 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.55
Purply Pink
#F075E6
ΔE00 2.76
Candy Pink
#FF63E9
ΔE00 3.92
Light Magenta
#FA5FF7
ΔE00 5.05
Violet Pink
#FB5FFC
ΔE00 5.21
Lavender Pink
#DD85D7
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FE7BF2 #7BFE87
analogous
#C97BFE #FE7BF2 #FE7BB1
triadic
#FE7BF2 #F2FE7B #7BF2FE
tetradic
#FE7BF2 #FEC97B #7BFE87 #7BB1FE
square
#FE7BF2 #FEC97B #7BFE87 #7BB1FE
split-complementary
#FE7BF2 #B1FE7B #7BFEC9
monochromatic
#FD02E6 #FE3EEC #FE7BF2 #FEB8F8 #FFE1FC
Accessibility & contrast
On white
2.25
#FE7BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.33
#FE7BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FE7BF2
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FE7BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FE7BF2 | 1.00 | 2.25 | 9.33 | 9.33 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75A1F6
Deuteranopia (green-blind)
#9CB3EE
Tritanopia (blue-blind)
#FF86AC
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #fe7bf2; /* rgb */ color: rgb(254, 123, 242); /* oklch */ color: oklch(77.4% 0.210 331.0);
Tailwind
colors: {
custom: {
50: '#ffa6f6',
500: '#fe7bf2',
950: '#000000',
},
}SCSS
$custom: #fe7bf2; $custom-light: #ffa6f6; $custom-dark: #000000;
JSON
{
"hex": "#fe7bf2",
"rgb": {
"r": 254,
"g": 123,
"b": 242
},
"hsl": {
"h": 305.496,
"s": 98.496,
"l": 73.922
},
"oklch": {
"l": 0.77361,
"c": 0.21043,
"h": 331
},
"luminance": 0.41648
}Semantic roles & 50–950 ramp
primary
#FE7BF2
secondary
#D4F7D7
accent
#E61500
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85