#B17DE2#B17DE2
#B17DE2 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.2% C 0.152 H 306.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #B17DE2 |
|---|---|
| RGB | rgb(177, 125, 226) |
| HSL | hsl(271, 64%, 69%) |
| HSV | hsv(271, 45%, 89%) |
| CMYK | cmyk(21.7%, 44.7%, 0%, 11.4%) |
| CIE-LAB | lab(61.23, 39.28, -43.93) |
| CIE-LCH | lch(61.23, 58.93, 311.80°) |
| OKLab | oklab(68.18% 0.0908 -0.1225) |
| OKLCH | oklch(68.18% 0.152 306.5) |
| XYZ | xyz(39.1898, 29.5057, 75.5674) |
| Luminance | 0.2950 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.86
Light Urple
#B36FF6
ΔE00 4.82
Easter Purple
#C071FE
ΔE00 5.32
Liliac
#C48EFD
ΔE00 5.87
Wisteria
#A87DC2
ΔE00 6.00
Mediumpurple
#9370DB
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17DE2 #AEE27D
analogous
#7F7DE2 #B17DE2 #E27DE1
triadic
#B17DE2 #E2B17D #7DE2B1
tetradic
#B17DE2 #E27F7D #AEE27D #7DE1E2
square
#B17DE2 #E27F7D #AEE27D #7DE1E2
split-complementary
#B17DE2 #E1E27D #7DE27F
monochromatic
#742ABB #934BD7 #B17DE2 #CFAFED #EDE1F8
Accessibility & contrast
On white
3.04
#B17DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#B17DE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B17DE2
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17DE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17DE2 | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6492E6
Deuteranopia (green-blind)
#7194DF
Tritanopia (blue-blind)
#AA8EA5
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b17de2; /* rgb */ color: rgb(177, 125, 226); /* oklch */ color: oklch(68.2% 0.152 306.5);
Tailwind
colors: {
custom: {
50: '#caa3eb',
500: '#b17de2',
950: '#000000',
},
}SCSS
$custom: #b17de2; $custom-light: #caa3eb; $custom-dark: #000000;
JSON
{
"hex": "#b17de2",
"rgb": {
"r": 177,
"g": 125,
"b": 226
},
"hsl": {
"h": 270.891,
"s": 63.522,
"l": 68.824
},
"oklch": {
"l": 0.68176,
"c": 0.15249,
"h": 306.5
},
"luminance": 0.29505
}Semantic roles & 50–950 ramp
primary
#B17DE2
secondary
#DDECCE
accent
#CB1A70
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84