#BD7DF2#BD7DF2
#BD7DF2 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.2% C 0.175 H 307.8°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #BD7DF2 |
|---|---|
| RGB | rgb(189, 125, 242) |
| HSL | hsl(273, 82%, 72%) |
| HSV | hsv(273, 48%, 95%) |
| CMYK | cmyk(21.9%, 48.3%, 0%, 5.1%) |
| CIE-LAB | lab(63.26, 46.16, -49.51) |
| CIE-LCH | lch(63.26, 67.69, 313.00°) |
| OKLab | oklab(70.23% 0.1072 -0.1385) |
| OKLCH | oklch(70.23% 0.175 307.8) |
| XYZ | xyz(44.3437, 31.8974, 87.8079) |
| Luminance | 0.3190 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.57
Easter Purple
#C071FE
ΔE00 3.26
Light Urple
#B36FF6
ΔE00 4.07
Liliac
#C48EFD
ΔE00 4.33
Bright Lavender
#C760FF
ΔE00 6.26
Bright Lilac
#C95EFB
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BD7DF2 #B2F27D
analogous
#837DF2 #BD7DF2 #F27DEC
triadic
#BD7DF2 #F2BD7D #7DF2BD
tetradic
#BD7DF2 #F2837D #B2F27D #7DECF2
square
#BD7DF2 #F2837D #B2F27D #7DECF2
split-complementary
#BD7DF2 #ECF27D #7DF283
monochromatic
#8416DE #A145EC #BD7DF2 #D9B5F8 #F1E3FC
Accessibility & contrast
On white
2.85
#BD7DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#BD7DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BD7DF2
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BD7DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BD7DF2 | 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)
#5E97F6
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#B591AC
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #bd7df2; /* rgb */ color: rgb(189, 125, 242); /* oklch */ color: oklch(70.2% 0.175 307.8);
Tailwind
colors: {
custom: {
50: '#d3a4f7',
500: '#bd7df2',
950: '#000000',
},
}SCSS
$custom: #bd7df2; $custom-light: #d3a4f7; $custom-dark: #000000;
JSON
{
"hex": "#bd7df2",
"rgb": {
"r": 189,
"g": 125,
"b": 242
},
"hsl": {
"h": 272.821,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.70233,
"c": 0.17513,
"h": 307.8
},
"luminance": 0.31897
}Semantic roles & 50–950 ramp
primary
#BD7DF2
secondary
#E4F4D7
accent
#DE0769
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85