#BD7EF2#BD7EF2
#BD7EF2 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.4% C 0.174 H 307.6°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #BD7EF2 |
|---|---|
| RGB | rgb(189, 126, 242) |
| HSL | hsl(273, 82%, 72%) |
| HSV | hsv(273, 48%, 95%) |
| CMYK | cmyk(21.9%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(63.47, 45.63, -49.18) |
| CIE-LCH | lch(63.47, 67.08, 312.86°) |
| OKLab | oklab(70.39% 0.1059 -0.1375) |
| OKLCH | oklch(70.39% 0.174 307.6) |
| XYZ | xyz(44.4710, 32.1518, 87.8503) |
| Luminance | 0.3215 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.79
Easter Purple
#C071FE
ΔE00 3.47
Liliac
#C48EFD
ΔE00 4.11
Light Urple
#B36FF6
ΔE00 4.28
Bright Lavender
#C760FF
ΔE00 6.49
Bright Lilac
#C95EFB
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BD7EF2 #B3F27E
analogous
#837EF2 #BD7EF2 #F27EED
triadic
#BD7EF2 #F2BD7E #7EF2BD
tetradic
#BD7EF2 #F2837E #B3F27E #7EEDF2
square
#BD7EF2 #F2837E #B3F27E #7EEDF2
split-complementary
#BD7EF2 #EDF27E #7EF283
monochromatic
#8316DF #A146EC #BD7EF2 #D9B6F8 #F1E3FC
Accessibility & contrast
On white
2.83
#BD7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.43
#BD7EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BD7EF2
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BD7EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BD7EF2 | 1.00 | 2.83 | 7.43 | 7.43 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F97F6
Deuteranopia (green-blind)
#719AEF
Tritanopia (blue-blind)
#B592AD
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #bd7ef2; /* rgb */ color: rgb(189, 126, 242); /* oklch */ color: oklch(70.4% 0.174 307.6);
Tailwind
colors: {
custom: {
50: '#d3a5f7',
500: '#bd7ef2',
950: '#000000',
},
}SCSS
$custom: #bd7ef2; $custom-light: #d3a5f7; $custom-dark: #000000;
JSON
{
"hex": "#bd7ef2",
"rgb": {
"r": 189,
"g": 126,
"b": 242
},
"hsl": {
"h": 272.586,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.7039,
"c": 0.17355,
"h": 307.6
},
"luminance": 0.32151
}Semantic roles & 50–950 ramp
primary
#BD7EF2
secondary
#E4F4D7
accent
#DE0769
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85