#B781DF#B781DF
#B781DF is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.3% C 0.144 H 309.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B781DF |
|---|---|
| RGB | rgb(183, 129, 223) |
| HSL | hsl(274, 59%, 69%) |
| HSV | hsv(274, 42%, 87%) |
| CMYK | cmyk(17.9%, 42.2%, 0%, 12.5%) |
| CIE-LAB | lab(62.59, 38.11, -40.07) |
| CIE-LCH | lch(62.59, 55.30, 313.56°) |
| OKLab | oklab(69.3% 0.0918 -0.1113) |
| OKLCH | oklch(69.3% 0.144 309.5) |
| XYZ | xyz(40.6955, 31.0961, 73.6560) |
| Luminance | 0.3110 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.63
Liliac
#C48EFD
ΔE00 5.38
Wisteria
#A87DC2
ΔE00 5.41
Pale Purple
#B790D4
ΔE00 5.41
Easter Purple
#C071FE
ΔE00 6.31
Light Urple
#B36FF6
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B781DF #A9DF81
analogous
#8881DF #B781DF #DF81D8
triadic
#B781DF #DFB781 #81DFB7
tetradic
#B781DF #DF8881 #A9DF81 #81D8DF
square
#B781DF #DF8881 #A9DF81 #81D8DF
split-complementary
#B781DF #D8DF81 #81DF88
monochromatic
#7D2FB7 #9B50D3 #B781DF #D3B2EB #EFE3F8
Accessibility & contrast
On white
2.91
#B781DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#B781DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B781DF
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B781DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B781DF | 1.00 | 2.91 | 7.22 | 7.22 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D95E2
Deuteranopia (green-blind)
#7A98DC
Tritanopia (blue-blind)
#B28FA5
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b781df; /* rgb */ color: rgb(183, 129, 223); /* oklch */ color: oklch(69.3% 0.144 309.5);
Tailwind
colors: {
custom: {
50: '#cea6e9',
500: '#b781df',
950: '#000000',
},
}SCSS
$custom: #b781df; $custom-light: #cea6e9; $custom-dark: #000000;
JSON
{
"hex": "#b781df",
"rgb": {
"r": 183,
"g": 129,
"b": 223
},
"hsl": {
"h": 274.468,
"s": 59.494,
"l": 69.02
},
"oklch": {
"l": 0.69295,
"c": 0.14426,
"h": 309.5
},
"luminance": 0.31096
}Semantic roles & 50–950 ramp
primary
#B781DF
secondary
#DCECD0
accent
#C71E66
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84