#FB7CEC#FB7CEC
#FB7CEC is a light, highly saturated purple. Relative luminance 0.410; OKLCH L 76.9% C 0.202 H 332.0°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #FB7CEC |
|---|---|
| RGB | rgb(251, 124, 236) |
| HSL | hsl(307, 94%, 74%) |
| HSV | hsv(307, 51%, 98%) |
| CMYK | cmyk(0%, 50.6%, 6%, 1.6%) |
| CIE-LAB | lab(70.17, 62.54, -34.85) |
| CIE-LCH | lch(70.17, 71.59, 330.87°) |
| OKLab | oklab(76.85% 0.1784 -0.0949) |
| OKLCH | oklch(76.85% 0.202 332) |
| XYZ | xyz(62.1314, 40.9846, 83.9789) |
| Luminance | 0.4098 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 2.38
Violet (CSS)
#EE82EE
ΔE00 2.38
Candy Pink
#FF63E9
ΔE00 3.96
Lavender Pink
#DD85D7
ΔE00 5.33
Light Magenta
#FA5FF7
ΔE00 5.44
Violet Pink
#FB5FFC
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FB7CEC #7CFB8B
analogous
#CA7CFB #FB7CEC #FB7CAC
triadic
#FB7CEC #ECFB7C #7CECFB
tetradic
#FB7CEC #FBCA7C #7CFB8B #7CACFB
square
#FB7CEC #FBCA7C #7CFB8B #7CACFB
split-complementary
#FB7CEC #ACFB7C #7CFBCA
monochromatic
#F507D9 #F941E3 #FB7CEC #FDB7F5 #FEE1FB
Accessibility & contrast
On white
2.28
#FB7CEC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.20
#FB7CEC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FB7CEC
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FB7CEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FB7CEC | 1.00 | 2.28 | 9.20 | 9.20 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#78A0F0
Deuteranopia (green-blind)
#9DB2E8
Tritanopia (blue-blind)
#FF85A9
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #fb7cec; /* rgb */ color: rgb(251, 124, 236); /* oklch */ color: oklch(76.9% 0.202 332.0);
Tailwind
colors: {
custom: {
50: '#ffa6f2',
500: '#fb7cec',
950: '#000000',
},
}SCSS
$custom: #fb7cec; $custom-light: #ffa6f2; $custom-dark: #000000;
JSON
{
"hex": "#fb7cec",
"rgb": {
"r": 251,
"g": 124,
"b": 236
},
"hsl": {
"h": 307.087,
"s": 94.074,
"l": 73.529
},
"oklch": {
"l": 0.76855,
"c": 0.20212,
"h": 332
},
"luminance": 0.40981
}Semantic roles & 50–950 ramp
primary
#FB7CEC
secondary
#D5F6D9
accent
#E61B00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85