#BD7EFB#BD7EFB
#BD7EFB is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.9% C 0.184 H 305.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #BD7EFB |
|---|---|
| RGB | rgb(189, 126, 251) |
| HSL | hsl(270, 94%, 74%) |
| HSV | hsv(270, 50%, 98%) |
| CMYK | cmyk(24.7%, 49.8%, 0%, 1.6%) |
| CIE-LAB | lab(63.92, 47.66, -53.41) |
| CIE-LCH | lch(63.92, 71.58, 311.74°) |
| OKLab | oklab(70.88% 0.1068 -0.1498) |
| OKLCH | oklch(70.88% 0.184 305.5) |
| XYZ | xyz(45.8560, 32.7059, 95.1452) |
| Luminance | 0.3271 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.88
Easter Purple
#C071FE
ΔE00 2.98
Light Urple
#B36FF6
ΔE00 4.02
Liliac
#C48EFD
ΔE00 4.02
Bright Lavender
#C760FF
ΔE00 6.28
Bright Lilac
#C95EFB
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BD7EFB #BCFB7E
analogous
#7F7EFB #BD7EFB #FB7EFB
triadic
#BD7EFB #FBBD7E #7EFBBD
tetradic
#BD7EFB #FB7F7E #BCFB7E #7EFBFB
square
#BD7EFB #FB7F7E #BCFB7E #7EFBFB
split-complementary
#BD7EFB #FBFB7E #7EFB7F
monochromatic
#8008F7 #9F43F9 #BD7EFB #DBB9FD #F0E1FE
Accessibility & contrast
On white
2.78
#BD7EFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.54
#BD7EFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BD7EFB
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BD7EFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BD7EFB | 1.00 | 2.78 | 7.54 | 7.54 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#6B9BF8
Tritanopia (blue-blind)
#B394B1
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #bd7efb; /* rgb */ color: rgb(189, 126, 251); /* oklch */ color: oklch(70.9% 0.184 305.5);
Tailwind
colors: {
custom: {
50: '#d3a5fd',
500: '#bd7efb',
950: '#000000',
},
}SCSS
$custom: #bd7efb; $custom-light: #d3a5fd; $custom-dark: #000000;
JSON
{
"hex": "#bd7efb",
"rgb": {
"r": 189,
"g": 126,
"b": 251
},
"hsl": {
"h": 270.24,
"s": 93.985,
"l": 73.922
},
"oklch": {
"l": 0.70875,
"c": 0.18402,
"h": 305.5
},
"luminance": 0.32706
}Semantic roles & 50–950 ramp
primary
#BD7EFB
secondary
#E5F6D5
accent
#E60072
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86