#FB4FE2#FB4FE2
#FB4FE2 is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 71.5% C 0.256 H 334.4°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #FB4FE2 |
|---|---|
| RGB | rgb(251, 79, 226) |
| HSL | hsl(309, 96%, 65%) |
| HSV | hsv(309, 69%, 98%) |
| CMYK | cmyk(0%, 68.5%, 10%, 1.6%) |
| CIE-LAB | lab(63.01, 79.38, -40.46) |
| CIE-LCH | lch(63.01, 89.10, 332.99°) |
| OKLab | oklab(71.48% 0.2306 -0.1106) |
| OKLCH | oklch(71.48% 0.256 334.4) |
| XYZ | xyz(56.3076, 31.5969, 75.0700) |
| Luminance | 0.3159 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Candy Pink
#FF63E9
ΔE00 3.18
Light Magenta
#FA5FF7
ΔE00 3.69
Violet Pink
#FB5FFC
ΔE00 4.30
Bright Magenta
#FF08E8
ΔE00 4.67
Purply Pink
#F075E6
ΔE00 5.46
Purpleish Pink
#DF4EC8
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FB4FE2 #4FFB68
analogous
#BE4FFB #FB4FE2 #FB4F8C
triadic
#FB4FE2 #E2FB4F #4FE2FB
tetradic
#FB4FE2 #FBBE4F #4FFB68 #4F8CFB
square
#FB4FE2 #FBBE4F #4FFB68 #4F8CFB
split-complementary
#FB4FE2 #8CFB4F #4FFBBE
monochromatic
#CB05AE #FA13D8 #FB4FE2 #FC8BEC #FEC7F6
Accessibility & contrast
On white
2.87
#FB4FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#FB4FE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FB4FE2
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FB4FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FB4FE2 | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D88E6
Deuteranopia (green-blind)
#89A1DE
Tritanopia (blue-blind)
#FF5D93
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #fb4fe2; /* rgb */ color: rgb(251, 79, 226); /* oklch */ color: oklch(71.5% 0.256 334.4);
Tailwind
colors: {
custom: {
50: '#ff8eeb',
500: '#fb4fe2',
950: '#000000',
},
}SCSS
$custom: #fb4fe2; $custom-light: #ff8eeb; $custom-dark: #000000;
JSON
{
"hex": "#fb4fe2",
"rgb": {
"r": 251,
"g": 79,
"b": 226
},
"hsl": {
"h": 308.721,
"s": 95.556,
"l": 64.706
},
"oklch": {
"l": 0.71476,
"c": 0.25572,
"h": 334.4
},
"luminance": 0.31592
}Semantic roles & 50–950 ramp
primary
#FB4FE2
secondary
#B5F0BE
accent
#E62100
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190D16
muted
#877E84