#B17CFE#B17CFE
#B17CFE is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.5% C 0.188 H 300.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B17CFE |
|---|---|
| RGB | rgb(177, 124, 254) |
| HSL | hsl(264, 98%, 74%) |
| HSV | hsv(264, 51%, 100%) |
| CMYK | cmyk(30.3%, 51.2%, 0%, 0.4%) |
| CIE-LAB | lab(62.44, 46.41, -57.49) |
| CIE-LCH | lch(62.44, 73.89, 308.91°) |
| OKLab | oklab(69.55% 0.0951 -0.1621) |
| OKLCH | oklch(69.55% 0.188 300.4) |
| XYZ | xyz(43.2243, 30.9179, 97.4373) |
| Luminance | 0.3092 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.41
Light Purple
#BF77F6
ΔE00 3.46
Easter Purple
#C071FE
ΔE00 3.69
Liliac
#C48EFD
ΔE00 5.63
Bright Lavender
#C760FF
ΔE00 6.76
Periwinkle (survey)
#8E82FE
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17CFE #C9FE7C
analogous
#7C88FE #B17CFE #F27CFE
triadic
#B17CFE #FEB17C #7CFEB1
tetradic
#B17CFE #FE7C88 #C9FE7C #7CFEF2
square
#B17CFE #FE7C88 #C9FE7C #7CFEF2
split-complementary
#B17CFE #FEF27C #88FE7C
monochromatic
#6903FD #8D3FFE #B17CFE #D5B9FE #EDE1FF
Accessibility & contrast
On white
2.92
#B17CFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#B17CFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B17CFE
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17CFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17CFE | 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)
#4E96FF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#A295B2
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b17cfe; /* rgb */ color: rgb(177, 124, 254); /* oklch */ color: oklch(69.5% 0.188 300.4);
Tailwind
colors: {
custom: {
50: '#cca3ff',
500: '#b17cfe',
950: '#000000',
},
}SCSS
$custom: #b17cfe; $custom-light: #cca3ff; $custom-dark: #000000;
JSON
{
"hex": "#b17cfe",
"rgb": {
"r": 177,
"g": 124,
"b": 254
},
"hsl": {
"h": 264.462,
"s": 98.485,
"l": 74.118
},
"oklch": {
"l": 0.69545,
"c": 0.18794,
"h": 300.4
},
"luminance": 0.30918
}Semantic roles & 50–950 ramp
primary
#B17CFE
secondary
#E9F7D4
accent
#E60088
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86