#B17AEF#B17AEF
#B17AEF is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.4% C 0.173 H 303.9°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #B17AEF |
|---|---|
| RGB | rgb(177, 122, 239) |
| HSL | hsl(268, 79%, 71%) |
| HSV | hsv(268, 49%, 94%) |
| CMYK | cmyk(25.9%, 49%, 0%, 6.3%) |
| CIE-LAB | lab(61.22, 43.93, -51.16) |
| CIE-LCH | lch(61.22, 67.43, 310.65°) |
| OKLab | oklab(68.38% 0.0964 -0.1436) |
| OKLCH | oklch(68.38% 0.173 303.9) |
| XYZ | xyz(40.6676, 29.4983, 85.1959) |
| Luminance | 0.2950 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.63
Light Urple
#B36FF6
ΔE00 2.87
Easter Purple
#C071FE
ΔE00 3.59
Liliac
#C48EFD
ΔE00 5.83
Bright Lavender
#C760FF
ΔE00 6.41
Mediumpurple
#9370DB
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17AEF #B8EF7A
analogous
#7A7DEF #B17AEF #EB7AEF
triadic
#B17AEF #EFB17A #7AEFB1
tetradic
#B17AEF #EF7A7D #B8EF7A #7AEFEB
square
#B17AEF #EF7A7D #B8EF7A #7AEFEB
split-complementary
#B17AEF #EFEB7A #7DEF7A
monochromatic
#721AD5 #9143E8 #B17AEF #D1B1F6 #EFE4FC
Accessibility & contrast
On white
3.04
#B17AEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#B17AEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B17AEF
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17AEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17AEF | 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)
#5792F3
Deuteranopia (green-blind)
#6694EC
Tritanopia (blue-blind)
#A68FA9
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b17aef; /* rgb */ color: rgb(177, 122, 239); /* oklch */ color: oklch(68.4% 0.173 303.9);
Tailwind
colors: {
custom: {
50: '#cba2f5',
500: '#b17aef',
950: '#000000',
},
}SCSS
$custom: #b17aef; $custom-light: #cba2f5; $custom-dark: #000000;
JSON
{
"hex": "#b17aef",
"rgb": {
"r": 177,
"g": 122,
"b": 239
},
"hsl": {
"h": 268.205,
"s": 78.523,
"l": 70.784
},
"oklch": {
"l": 0.68382,
"c": 0.17296,
"h": 303.9
},
"luminance": 0.29498
}Semantic roles & 50–950 ramp
primary
#B17AEF
secondary
#E3F2D3
accent
#DB0B79
background
#FCFAFF
surface
#F9F3FE
border
#D2CDD6
text
#140F17
muted
#827F85