#FB7FEF#FB7FEF
#FB7FEF is a light, vivid purple. Relative luminance 0.419; OKLCH L 77.4% C 0.200 H 331.0°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #FB7FEF |
|---|---|
| RGB | rgb(251, 127, 239) |
| HSL | hsl(306, 94%, 74%) |
| HSV | hsv(306, 49%, 98%) |
| CMYK | cmyk(0%, 49.4%, 4.8%, 1.6%) |
| CIE-LAB | lab(70.82, 61.62, -35.49) |
| CIE-LCH | lch(70.82, 71.11, 330.06°) |
| OKLab | oklab(77.38% 0.1749 -0.0968) |
| OKLCH | oklch(77.38% 0.2 331) |
| XYZ | xyz(62.9526, 41.9238, 86.4209) |
| Luminance | 0.4192 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.11
Purply Pink
#F075E6
ΔE00 2.80
Candy Pink
#FF63E9
ΔE00 4.50
Lavender Pink
#DD85D7
ΔE00 5.39
Light Magenta
#FA5FF7
ΔE00 5.74
Violet Pink
#FB5FFC
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FB7FEF #7FFB8B
analogous
#C97FFB #FB7FEF #FB7FB1
triadic
#FB7FEF #EFFB7F #7FEFFB
tetradic
#FB7FEF #FBC97F #7FFB8B #7FB1FB
square
#FB7FEF #FBC97F #7FFB8B #7FB1FB
split-complementary
#FB7FEF #B1FB7F #7FFBC9
monochromatic
#F708E0 #F944E8 #FB7FEF #FDBAF6 #FEE1FB
Accessibility & contrast
On white
2.24
#FB7FEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.38
#FB7FEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FB7FEF
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FB7FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FB7FEF | 1.00 | 2.24 | 9.38 | 9.38 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7AA2F3
Deuteranopia (green-blind)
#9EB4EB
Tritanopia (blue-blind)
#FF89AC
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #fb7fef; /* rgb */ color: rgb(251, 127, 239); /* oklch */ color: oklch(77.4% 0.200 331.0);
Tailwind
colors: {
custom: {
50: '#ffa8f4',
500: '#fb7fef',
950: '#000000',
},
}SCSS
$custom: #fb7fef; $custom-light: #ffa8f4; $custom-dark: #000000;
JSON
{
"hex": "#fb7fef",
"rgb": {
"r": 251,
"g": 127,
"b": 239
},
"hsl": {
"h": 305.806,
"s": 93.939,
"l": 74.118
},
"oklch": {
"l": 0.77379,
"c": 0.19991,
"h": 331
},
"luminance": 0.4192
}Semantic roles & 50–950 ramp
primary
#FB7FEF
secondary
#D5F6D8
accent
#E61600
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85