#BD7FE4#BD7FE4
#BD7FE4 is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.8% C 0.156 H 311.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #BD7FE4 |
|---|---|
| RGB | rgb(189, 127, 228) |
| HSL | hsl(277, 65%, 70%) |
| HSV | hsv(277, 44%, 89%) |
| CMYK | cmyk(17.1%, 44.3%, 0%, 10.6%) |
| CIE-LAB | lab(63.01, 42.01, -42.15) |
| CIE-LCH | lch(63.01, 59.51, 314.91°) |
| OKLab | oklab(69.83% 0.1026 -0.1171) |
| OKLCH | oklch(69.83% 0.156 311.2) |
| XYZ | xyz(42.5767, 31.5998, 77.2402) |
| Luminance | 0.3160 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.64
Liliac
#C48EFD
ΔE00 5.04
Easter Purple
#C071FE
ΔE00 5.35
Light Urple
#B36FF6
ΔE00 5.83
Pale Purple
#B790D4
ΔE00 6.34
Wisteria
#A87DC2
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BD7FE4 #A6E47F
analogous
#8B7FE4 #BD7FE4 #E47FD8
triadic
#BD7FE4 #E4BD7F #7FE4BD
tetradic
#BD7FE4 #E48B7F #A6E47F #7FD8E4
square
#BD7FE4 #E48B7F #A6E47F #7FD8E4
split-complementary
#BD7FE4 #D8E47F #7FE48B
monochromatic
#8629C0 #A34CD9 #BD7FE4 #D7B2EF #F1E4F9
Accessibility & contrast
On white
2.87
#BD7FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#BD7FE4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BD7FE4
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BD7FE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BD7FE4 | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6995E8
Deuteranopia (green-blind)
#799AE1
Tritanopia (blue-blind)
#B98EA7
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #bd7fe4; /* rgb */ color: rgb(189, 127, 228); /* oklch */ color: oklch(69.8% 0.156 311.2);
Tailwind
colors: {
custom: {
50: '#d2a5ed',
500: '#bd7fe4',
950: '#000000',
},
}SCSS
$custom: #bd7fe4; $custom-light: #d2a5ed; $custom-dark: #000000;
JSON
{
"hex": "#bd7fe4",
"rgb": {
"r": 189,
"g": 127,
"b": 228
},
"hsl": {
"h": 276.832,
"s": 65.161,
"l": 69.608
},
"oklch": {
"l": 0.6983,
"c": 0.15569,
"h": 311.2
},
"luminance": 0.31599
}Semantic roles & 50–950 ramp
primary
#BD7FE4
secondary
#DCEED1
accent
#CD195E
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84