#E786FB#E786FB
#E786FB is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.6% C 0.188 H 320.6°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #E786FB |
|---|---|
| RGB | rgb(231, 134, 251) |
| HSL | hsl(290, 94%, 75%) |
| HSV | hsv(290, 47%, 98%) |
| CMYK | cmyk(8%, 46.6%, 0%, 1.6%) |
| CIE-LAB | lab(70.18, 54.79, -43.23) |
| CIE-LCH | lch(70.18, 69.79, 321.72°) |
| OKLab | oklab(76.55% 0.1452 -0.1194) |
| OKLCH | oklch(76.55% 0.188 320.6) |
| XYZ | xyz(58.8906, 41.0064, 96.0610) |
| Luminance | 0.4100 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.94
Purply Pink
#F075E6
ΔE00 4.95
Lavender Pink
#DD85D7
ΔE00 6.05
Violet Pink
#FB5FFC
ΔE00 6.54
Light Magenta
#FA5FF7
ΔE00 6.65
Liliac
#C48EFD
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786FB #9AFB86
analogous
#AD86FB #E786FB #FB86D4
triadic
#E786FB #FBE786 #86FBE7
tetradic
#E786FB #FBAD86 #9AFB86 #86D4FB
square
#E786FB #FBAD86 #9AFB86 #86D4FB
split-complementary
#E786FB #D4FB86 #86FBAD
monochromatic
#D010F7 #DB4BF9 #E786FB #F3C1FD #F9E1FE
Accessibility & contrast
On white
2.28
#E786FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.20
#E786FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786FB
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786FB | 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)
#74A5FF
Deuteranopia (green-blind)
#90AFF8
Tritanopia (blue-blind)
#E995B5
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #e786fb; /* rgb */ color: rgb(231, 134, 251); /* oklch */ color: oklch(76.6% 0.188 320.6);
Tailwind
colors: {
custom: {
50: '#f1acfd',
500: '#e786fb',
950: '#000000',
},
}SCSS
$custom: #e786fb; $custom-light: #f1acfd; $custom-dark: #000000;
JSON
{
"hex": "#e786fb",
"rgb": {
"r": 231,
"g": 134,
"b": 251
},
"hsl": {
"h": 289.744,
"s": 93.6,
"l": 75.49
},
"oklch": {
"l": 0.76553,
"c": 0.18801,
"h": 320.6
},
"luminance": 0.41004
}Semantic roles & 50–950 ramp
primary
#E786FB
secondary
#DBF6D5
accent
#E60027
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85