#BD7EFD#BD7EFD
#BD7EFD is a light, vivid violet. Relative luminance 0.328; OKLCH L 71.0% C 0.186 H 305.0°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #BD7EFD |
|---|---|
| RGB | rgb(189, 126, 253) |
| HSL | hsl(270, 97%, 74%) |
| HSV | hsv(270, 50%, 99%) |
| CMYK | cmyk(25.3%, 50.2%, 0%, 0.8%) |
| CIE-LAB | lab(64.03, 48.12, -54.34) |
| CIE-LCH | lch(64.03, 72.59, 311.52°) |
| OKLab | oklab(70.99% 0.107 -0.1526) |
| OKLCH | oklch(70.99% 0.186 305) |
| XYZ | xyz(46.1730, 32.8326, 96.8143) |
| Luminance | 0.3283 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.03
Easter Purple
#C071FE
ΔE00 2.96
Light Urple
#B36FF6
ΔE00 4.03
Liliac
#C48EFD
ΔE00 4.06
Bright Lavender
#C760FF
ΔE00 6.28
Bright Lilac
#C95EFB
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BD7EFD #BEFD7E
analogous
#7E7FFD #BD7EFD #FD7EFD
triadic
#BD7EFD #FDBD7E #7EFDBD
tetradic
#BD7EFD #FD7E7F #BEFD7E #7EFDFD
square
#BD7EFD #FD7E7F #BEFD7E #7EFDFD
split-complementary
#BD7EFD #FDFD7E #7FFD7E
monochromatic
#7F05FB #9E42FC #BD7EFD #DCBAFE #F0E1FF
Accessibility & contrast
On white
2.78
#BD7EFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#BD7EFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BD7EFD
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BD7EFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BD7EFD | 1.00 | 2.78 | 7.57 | 7.57 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#699BFA
Tritanopia (blue-blind)
#B295B2
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #bd7efd; /* rgb */ color: rgb(189, 126, 253); /* oklch */ color: oklch(71.0% 0.186 305.0);
Tailwind
colors: {
custom: {
50: '#d4a5fe',
500: '#bd7efd',
950: '#000000',
},
}SCSS
$custom: #bd7efd; $custom-light: #d4a5fe; $custom-dark: #000000;
JSON
{
"hex": "#bd7efd",
"rgb": {
"r": 189,
"g": 126,
"b": 253
},
"hsl": {
"h": 269.764,
"s": 96.947,
"l": 74.314
},
"oklch": {
"l": 0.70985,
"c": 0.18635,
"h": 305
},
"luminance": 0.32832
}Semantic roles & 50–950 ramp
primary
#BD7EFD
secondary
#E6F7D4
accent
#E60074
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86