#BD7EF6#BD7EF6
#BD7EF6 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.6% C 0.178 H 306.6°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #BD7EF6 |
|---|---|
| RGB | rgb(189, 126, 246) |
| HSL | hsl(272, 87%, 73%) |
| HSV | hsv(272, 49%, 96%) |
| CMYK | cmyk(23.2%, 48.8%, 0%, 3.5%) |
| CIE-LAB | lab(63.67, 46.53, -51.07) |
| CIE-LCH | lch(63.67, 69.08, 312.34°) |
| OKLab | oklab(70.6% 0.1063 -0.143) |
| OKLCH | oklch(70.6% 0.178 306.6) |
| XYZ | xyz(45.0783, 32.3948, 91.0490) |
| Luminance | 0.3239 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.68
Easter Purple
#C071FE
ΔE00 3.18
Liliac
#C48EFD
ΔE00 4.01
Light Urple
#B36FF6
ΔE00 4.10
Bright Lavender
#C760FF
ΔE00 6.36
Bright Lilac
#C95EFB
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BD7EF6 #B7F67E
analogous
#817EF6 #BD7EF6 #F67EF3
triadic
#BD7EF6 #F6BD7E #7EF6BD
tetradic
#BD7EF6 #F6817E #B7F67E #7EF3F6
square
#BD7EF6 #F6817E #B7F67E #7EF3F6
split-complementary
#BD7EF6 #F3F67E #7EF681
monochromatic
#8210E9 #A045F2 #BD7EF6 #DAB7FA #F0E2FD
Accessibility & contrast
On white
2.81
#BD7EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.48
#BD7EF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BD7EF6
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BD7EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BD7EF6 | 1.00 | 2.81 | 7.48 | 7.48 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D98FA
Deuteranopia (green-blind)
#6E9BF3
Tritanopia (blue-blind)
#B493AF
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #bd7ef6; /* rgb */ color: rgb(189, 126, 246); /* oklch */ color: oklch(70.6% 0.178 306.6);
Tailwind
colors: {
custom: {
50: '#d3a5fa',
500: '#bd7ef6',
950: '#000000',
},
}SCSS
$custom: #bd7ef6; $custom-light: #d3a5fa; $custom-dark: #000000;
JSON
{
"hex": "#bd7ef6",
"rgb": {
"r": 189,
"g": 126,
"b": 246
},
"hsl": {
"h": 271.5,
"s": 86.957,
"l": 72.941
},
"oklch": {
"l": 0.70603,
"c": 0.1782,
"h": 306.6
},
"luminance": 0.32394
}Semantic roles & 50–950 ramp
primary
#BD7EF6
secondary
#E5F5D6
accent
#E4026D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85