#BD7AF2#BD7AF2
#BD7AF2 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.8% C 0.180 H 308.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #BD7AF2 |
|---|---|
| RGB | rgb(189, 122, 242) |
| HSL | hsl(274, 82%, 71%) |
| HSV | hsv(274, 50%, 95%) |
| CMYK | cmyk(21.9%, 49.6%, 0%, 5.1%) |
| CIE-LAB | lab(62.63, 47.76, -50.50) |
| CIE-LCH | lch(62.63, 69.51, 313.41°) |
| OKLab | oklab(69.77% 0.1112 -0.1413) |
| OKLCH | oklch(69.77% 0.18 308.2) |
| XYZ | xyz(43.9697, 31.1492, 87.6833) |
| Luminance | 0.3115 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 0.94
Easter Purple
#C071FE
ΔE00 2.67
Light Urple
#B36FF6
ΔE00 3.48
Liliac
#C48EFD
ΔE00 5.01
Bright Lavender
#C760FF
ΔE00 5.57
Bright Lilac
#C95EFB
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BD7AF2 #AFF27A
analogous
#817AF2 #BD7AF2 #F27AEB
triadic
#BD7AF2 #F2BD7A #7AF2BD
tetradic
#BD7AF2 #F2817A #AFF27A #7AEBF2
square
#BD7AF2 #F2817A #AFF27A #7AEBF2
split-complementary
#BD7AF2 #EBF27A #7AF281
monochromatic
#8416DC #A142ED #BD7AF2 #D9B2F7 #F1E3FC
Accessibility & contrast
On white
2.90
#BD7AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#BD7AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BD7AF2
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BD7AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BD7AF2 | 1.00 | 2.90 | 7.23 | 7.23 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#6D98EF
Tritanopia (blue-blind)
#B68EAB
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #bd7af2; /* rgb */ color: rgb(189, 122, 242); /* oklch */ color: oklch(69.8% 0.180 308.2);
Tailwind
colors: {
custom: {
50: '#d3a2f7',
500: '#bd7af2',
950: '#000000',
},
}SCSS
$custom: #bd7af2; $custom-light: #d3a2f7; $custom-dark: #000000;
JSON
{
"hex": "#bd7af2",
"rgb": {
"r": 189,
"g": 122,
"b": 242
},
"hsl": {
"h": 273.5,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.69769,
"c": 0.17985,
"h": 308.2
},
"luminance": 0.31149
}Semantic roles & 50–950 ramp
primary
#BD7AF2
secondary
#E2F3D4
accent
#DF0766
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85