#B17DFA#B17DFA
#B17DFA is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.5% C 0.182 H 301.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B17DFA |
|---|---|
| RGB | rgb(177, 125, 250) |
| HSL | hsl(265, 93%, 74%) |
| HSV | hsv(265, 50%, 98%) |
| CMYK | cmyk(29.2%, 50%, 0%, 2%) |
| CIE-LAB | lab(62.44, 44.90, -55.30) |
| CIE-LCH | lch(62.44, 71.23, 309.08°) |
| OKLab | oklab(69.47% 0.0935 -0.1557) |
| OKLCH | oklch(69.47% 0.182 301) |
| XYZ | xyz(42.7164, 30.9163, 94.1409) |
| Luminance | 0.3092 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.26
Light Urple
#B36FF6
ΔE00 3.48
Easter Purple
#C071FE
ΔE00 3.79
Liliac
#C48EFD
ΔE00 5.31
Bright Lavender
#C760FF
ΔE00 6.92
Mediumpurple
#9370DB
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17DFA #C6FA7D
analogous
#7D87FA #B17DFA #EF7DFA
triadic
#B17DFA #FAB17D #7DFAB1
tetradic
#B17DFA #FA7D87 #C6FA7D #7DFAEF
square
#B17DFA #FA7D87 #C6FA7D #7DFAEF
split-complementary
#B17DFA #FAEF7D #87FA7D
monochromatic
#6B09F3 #8E42F8 #B17DFA #D4B8FC #EDE2FE
Accessibility & contrast
On white
2.92
#B17DFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#B17DFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B17DFA
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17DFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17DFA | 1.00 | 2.92 | 7.18 | 7.18 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5396FE
Deuteranopia (green-blind)
#6196F7
Tritanopia (blue-blind)
#A394B0
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b17dfa; /* rgb */ color: rgb(177, 125, 250); /* oklch */ color: oklch(69.5% 0.182 301.0);
Tailwind
colors: {
custom: {
50: '#cba4fc',
500: '#b17dfa',
950: '#000000',
},
}SCSS
$custom: #b17dfa; $custom-light: #cba4fc; $custom-dark: #000000;
JSON
{
"hex": "#b17dfa",
"rgb": {
"r": 177,
"g": 125,
"b": 250
},
"hsl": {
"h": 264.96,
"s": 92.593,
"l": 73.529
},
"oklch": {
"l": 0.69475,
"c": 0.18161,
"h": 301
},
"luminance": 0.30916
}Semantic roles & 50–950 ramp
primary
#B17DFA
secondary
#E8F6D5
accent
#E60086
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86