#B17AFA#B17AFA
#B17AFA is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.0% C 0.186 H 301.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B17AFA |
|---|---|
| RGB | rgb(177, 122, 250) |
| HSL | hsl(266, 93%, 73%) |
| HSV | hsv(266, 51%, 98%) |
| CMYK | cmyk(29.2%, 51.2%, 0%, 2%) |
| CIE-LAB | lab(61.80, 46.53, -56.31) |
| CIE-LCH | lch(61.80, 73.05, 309.57°) |
| OKLab | oklab(69% 0.0974 -0.1586) |
| OKLCH | oklch(69% 0.186 301.5) |
| XYZ | xyz(42.3424, 30.1682, 94.0163) |
| Luminance | 0.3017 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.75
Light Purple
#BF77F6
ΔE00 2.99
Easter Purple
#C071FE
ΔE00 3.28
Liliac
#C48EFD
ΔE00 5.89
Bright Lavender
#C760FF
ΔE00 6.28
Bright Lilac
#C95EFB
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17AFA #C3FA7A
analogous
#7A83FA #B17AFA #F17AFA
triadic
#B17AFA #FAB17A #7AFAB1
tetradic
#B17AFA #FA7A83 #C3FA7A #7AFAF1
square
#B17AFA #FA7A83 #C3FA7A #7AFAF1
split-complementary
#B17AFA #FAF17A #83FA7A
monochromatic
#6D09F1 #8E3FF8 #B17AFA #D4B5FC #EEE2FE
Accessibility & contrast
On white
2.99
#B17AFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#B17AFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B17AFA
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17AFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17AFA | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E94FE
Deuteranopia (green-blind)
#5E95F7
Tritanopia (blue-blind)
#A392AF
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b17afa; /* rgb */ color: rgb(177, 122, 250); /* oklch */ color: oklch(69.0% 0.186 301.5);
Tailwind
colors: {
custom: {
50: '#cba2fc',
500: '#b17afa',
950: '#000000',
},
}SCSS
$custom: #b17afa; $custom-light: #cba2fc; $custom-dark: #000000;
JSON
{
"hex": "#b17afa",
"rgb": {
"r": 177,
"g": 122,
"b": 250
},
"hsl": {
"h": 265.781,
"s": 92.754,
"l": 72.941
},
"oklch": {
"l": 0.69001,
"c": 0.18614,
"h": 301.5
},
"luminance": 0.30168
}Semantic roles & 50–950 ramp
primary
#B17AFA
secondary
#E8F6D5
accent
#E60083
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86