#BD7CFB#BD7CFB
#BD7CFB is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.6% C 0.187 H 305.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #BD7CFB |
|---|---|
| RGB | rgb(189, 124, 251) |
| HSL | hsl(271, 94%, 74%) |
| HSV | hsv(271, 51%, 98%) |
| CMYK | cmyk(24.7%, 50.6%, 0%, 1.6%) |
| CIE-LAB | lab(63.51, 48.73, -54.07) |
| CIE-LCH | lch(63.51, 72.79, 312.02°) |
| OKLab | oklab(70.57% 0.1094 -0.1518) |
| OKLCH | oklch(70.57% 0.187 305.8) |
| XYZ | xyz(45.6029, 32.1995, 95.0608) |
| Luminance | 0.3220 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.49
Easter Purple
#C071FE
ΔE00 2.51
Light Urple
#B36FF6
ΔE00 3.60
Liliac
#C48EFD
ΔE00 4.47
Bright Lavender
#C760FF
ΔE00 5.82
Bright Lilac
#C95EFB
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BD7CFB #BAFB7C
analogous
#7D7CFB #BD7CFB #FB7CF9
triadic
#BD7CFB #FBBD7C #7CFBBD
tetradic
#BD7CFB #FB7D7C #BAFB7C #7CF9FB
square
#BD7CFB #FB7D7C #BAFB7C #7CF9FB
split-complementary
#BD7CFB #F9FB7C #7CFB7D
monochromatic
#8107F5 #9F41F9 #BD7CFB #DBB7FD #F0E1FE
Accessibility & contrast
On white
2.82
#BD7CFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.44
#BD7CFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BD7CFB
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BD7CFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BD7CFB | 1.00 | 2.82 | 7.44 | 7.44 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#699AF8
Tritanopia (blue-blind)
#B393B0
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #bd7cfb; /* rgb */ color: rgb(189, 124, 251); /* oklch */ color: oklch(70.6% 0.187 305.8);
Tailwind
colors: {
custom: {
50: '#d4a4fd',
500: '#bd7cfb',
950: '#000000',
},
}SCSS
$custom: #bd7cfb; $custom-light: #d4a4fd; $custom-dark: #000000;
JSON
{
"hex": "#bd7cfb",
"rgb": {
"r": 189,
"g": 124,
"b": 251
},
"hsl": {
"h": 270.709,
"s": 94.074,
"l": 73.529
},
"oklch": {
"l": 0.70567,
"c": 0.18709,
"h": 305.8
},
"luminance": 0.32199
}Semantic roles & 50–950 ramp
primary
#BD7CFB
secondary
#E5F6D5
accent
#E60070
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86