#BD7FF2#BD7FF2
#BD7FF2 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.5% C 0.172 H 307.4°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #BD7FF2 |
|---|---|
| RGB | rgb(189, 127, 242) |
| HSL | hsl(272, 82%, 72%) |
| HSV | hsv(272, 48%, 95%) |
| CMYK | cmyk(21.9%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(63.68, 45.09, -48.84) |
| CIE-LCH | lch(63.68, 66.48, 312.71°) |
| OKLab | oklab(70.55% 0.1045 -0.1365) |
| OKLCH | oklch(70.55% 0.172 307.4) |
| XYZ | xyz(44.5995, 32.4088, 87.8932) |
| Luminance | 0.3241 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.03
Easter Purple
#C071FE
ΔE00 3.69
Liliac
#C48EFD
ΔE00 3.89
Light Urple
#B36FF6
ΔE00 4.49
Bright Lavender
#C760FF
ΔE00 6.72
Bright Lilac
#C95EFB
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BD7FF2 #B4F27F
analogous
#847FF2 #BD7FF2 #F27FED
triadic
#BD7FF2 #F2BD7F #7FF2BD
tetradic
#BD7FF2 #F2847F #B4F27F #7FEDF2
square
#BD7FF2 #F2847F #B4F27F #7FEDF2
split-complementary
#BD7FF2 #EDF27F #7FF284
monochromatic
#8317E0 #A047EC #BD7FF2 #DAB7F8 #F1E3FC
Accessibility & contrast
On white
2.81
#BD7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.48
#BD7FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BD7FF2
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BD7FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BD7FF2 | 1.00 | 2.81 | 7.48 | 7.48 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#729BEF
Tritanopia (blue-blind)
#B592AD
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #bd7ff2; /* rgb */ color: rgb(189, 127, 242); /* oklch */ color: oklch(70.5% 0.172 307.4);
Tailwind
colors: {
custom: {
50: '#d3a5f7',
500: '#bd7ff2',
950: '#000000',
},
}SCSS
$custom: #bd7ff2; $custom-light: #d3a5f7; $custom-dark: #000000;
JSON
{
"hex": "#bd7ff2",
"rgb": {
"r": 189,
"g": 127,
"b": 242
},
"hsl": {
"h": 272.348,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.70547,
"c": 0.17196,
"h": 307.4
},
"luminance": 0.32408
}Semantic roles & 50–950 ramp
primary
#BD7FF2
secondary
#E4F4D7
accent
#DE086A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85