#BD7AFE#BD7AFE
#BD7AFE is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.4% C 0.194 H 305.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #BD7AFE |
|---|---|
| RGB | rgb(189, 122, 254) |
| HSL | hsl(270, 99%, 74%) |
| HSV | hsv(270, 52%, 100%) |
| CMYK | cmyk(25.6%, 52%, 0%, 0.4%) |
| CIE-LAB | lab(63.26, 50.47, -56.12) |
| CIE-LCH | lch(63.26, 75.47, 311.96°) |
| OKLab | oklab(70.43% 0.1122 -0.1577) |
| OKLCH | oklch(70.43% 0.194 305.4) |
| XYZ | xyz(45.8314, 31.8939, 97.4884) |
| Luminance | 0.3189 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.55
Easter Purple
#C071FE
ΔE00 2.04
Light Urple
#B36FF6
ΔE00 3.25
Liliac
#C48EFD
ΔE00 4.98
Bright Lavender
#C760FF
ΔE00 5.38
Bright Lilac
#C95EFB
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BD7AFE #BBFE7A
analogous
#7B7AFE #BD7AFE #FE7AFD
triadic
#BD7AFE #FEBD7A #7AFEBD
tetradic
#BD7AFE #FE7B7A #BBFE7A #7AFDFE
square
#BD7AFE #FE7B7A #BBFE7A #7AFDFE
split-complementary
#BD7AFE #FDFE7A #7AFE7B
monochromatic
#8102FC #9F3DFE #BD7AFE #DBB7FE #F0E1FF
Accessibility & contrast
On white
2.85
#BD7AFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#BD7AFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BD7AFE
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BD7AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BD7AFE | 1.00 | 2.85 | 7.38 | 7.38 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#6499FB
Tritanopia (blue-blind)
#B292B1
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #bd7afe; /* rgb */ color: rgb(189, 122, 254); /* oklch */ color: oklch(70.4% 0.194 305.4);
Tailwind
colors: {
custom: {
50: '#d4a2ff',
500: '#bd7afe',
950: '#000000',
},
}SCSS
$custom: #bd7afe; $custom-light: #d4a2ff; $custom-dark: #000000;
JSON
{
"hex": "#bd7afe",
"rgb": {
"r": 189,
"g": 122,
"b": 254
},
"hsl": {
"h": 270.455,
"s": 98.507,
"l": 73.725
},
"oklch": {
"l": 0.70432,
"c": 0.19358,
"h": 305.4
},
"luminance": 0.31894
}Semantic roles & 50–950 ramp
primary
#BD7AFE
secondary
#E5F7D4
accent
#E60071
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86