#B17CFD#B17CFD
#B17CFD is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.5% C 0.187 H 300.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B17CFD |
|---|---|
| RGB | rgb(177, 124, 253) |
| HSL | hsl(265, 97%, 74%) |
| HSV | hsv(265, 51%, 99%) |
| CMYK | cmyk(30%, 51%, 0%, 0.8%) |
| CIE-LAB | lab(62.38, 46.17, -57.03) |
| CIE-LCH | lch(62.38, 73.37, 308.99°) |
| OKLab | oklab(69.49% 0.0951 -0.1607) |
| OKLCH | oklch(69.49% 0.187 300.6) |
| XYZ | xyz(43.0646, 30.8540, 96.5961) |
| Luminance | 0.3085 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.36
Light Purple
#BF77F6
ΔE00 3.38
Easter Purple
#C071FE
ΔE00 3.66
Liliac
#C48EFD
ΔE00 5.59
Bright Lavender
#C760FF
ΔE00 6.74
Periwinkle (survey)
#8E82FE
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17CFD #C8FD7C
analogous
#7C88FD #B17CFD #F17CFD
triadic
#B17CFD #FDB17C #7CFDB1
tetradic
#B17CFD #FD7C88 #C8FD7C #7CFDF1
square
#B17CFD #FD7C88 #C8FD7C #7CFDF1
split-complementary
#B17CFD #FDF17C #88FD7C
monochromatic
#6904FB #8D40FC #B17CFD #D5B8FE #EDE1FF
Accessibility & contrast
On white
2.93
#B17CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#B17CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B17CFD
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17CFD | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#5E96FA
Tritanopia (blue-blind)
#A294B1
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b17cfd; /* rgb */ color: rgb(177, 124, 253); /* oklch */ color: oklch(69.5% 0.187 300.6);
Tailwind
colors: {
custom: {
50: '#cca3ff',
500: '#b17cfd',
950: '#000000',
},
}SCSS
$custom: #b17cfd; $custom-light: #cca3ff; $custom-dark: #000000;
JSON
{
"hex": "#b17cfd",
"rgb": {
"r": 177,
"g": 124,
"b": 253
},
"hsl": {
"h": 264.651,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.69488,
"c": 0.18674,
"h": 300.6
},
"luminance": 0.30854
}Semantic roles & 50–950 ramp
primary
#B17CFD
secondary
#E9F7D4
accent
#E60087
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86