#FB8CF2#FB8CF2
#FB8CF2 is a light, vivid purple. Relative luminance 0.457; OKLCH L 79.3% C 0.182 H 330.2°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #FB8CF2 |
|---|---|
| RGB | rgb(251, 140, 242) |
| HSL | hsl(305, 93%, 77%) |
| HSV | hsv(305, 44%, 98%) |
| CMYK | cmyk(0%, 44.2%, 3.6%, 1.6%) |
| CIE-LAB | lab(73.34, 55.87, -33.23) |
| CIE-LCH | lch(73.34, 65.00, 329.26°) |
| OKLab | oklab(79.29% 0.1576 -0.0905) |
| OKLCH | oklch(79.29% 0.182 330.2) |
| XYZ | xyz(65.1880, 45.6798, 89.3706) |
| Luminance | 0.4568 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.10
Purply Pink
#F075E6
ΔE00 4.97
Lavender Pink
#DD85D7
ΔE00 5.59
Candy Pink
#FF63E9
ΔE00 6.94
Bubblegum Pink
#FE83CC
ΔE00 7.24
Plum
#DDA0DD
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FB8CF2 #8CFB95
analogous
#CD8CFB #FB8CF2 #FB8CBB
triadic
#FB8CF2 #F2FB8C #8CF2FB
tetradic
#FB8CF2 #FBCD8C #8CFB95 #8CBBFB
square
#FB8CF2 #FBCD8C #8CFB95 #8CBBFB
split-complementary
#FB8CF2 #BBFB8C #8CFBCD
monochromatic
#F716E5 #F951EB #FB8CF2 #FDC7F9 #FEE1FC
Accessibility & contrast
On white
2.07
#FB8CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.14
#FB8CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FB8CF2
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FB8CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FB8CF2 | 1.00 | 2.07 | 10.14 | 10.14 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87ABF6
Deuteranopia (green-blind)
#A5BAEF
Tritanopia (blue-blind)
#FF95B4
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #fb8cf2; /* rgb */ color: rgb(251, 140, 242); /* oklch */ color: oklch(79.3% 0.182 330.2);
Tailwind
colors: {
custom: {
50: '#ffb0f6',
500: '#fb8cf2',
950: '#000000',
},
}SCSS
$custom: #fb8cf2; $custom-light: #ffb0f6; $custom-dark: #000000;
JSON
{
"hex": "#fb8cf2",
"rgb": {
"r": 251,
"g": 140,
"b": 242
},
"hsl": {
"h": 304.865,
"s": 93.277,
"l": 76.667
},
"oklch": {
"l": 0.79291,
"c": 0.18175,
"h": 330.2
},
"luminance": 0.45676
}Semantic roles & 50–950 ramp
primary
#FB8CF2
secondary
#D5F6D8
accent
#E61300
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085