#B17FF2#B17FF2
#B17FF2 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.4% C 0.169 H 302.3°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B17FF2 |
|---|---|
| RGB | rgb(177, 127, 242) |
| HSL | hsl(266, 82%, 72%) |
| HSV | hsv(266, 48%, 95%) |
| CMYK | cmyk(26.9%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(62.45, 41.90, -50.86) |
| CIE-LCH | lch(62.45, 65.90, 309.48°) |
| OKLab | oklab(69.35% 0.0901 -0.1427) |
| OKLCH | oklch(69.35% 0.169 302.3) |
| XYZ | xyz(41.7443, 30.9366, 87.7593) |
| Luminance | 0.3094 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.25
Light Urple
#B36FF6
ΔE00 3.99
Easter Purple
#C071FE
ΔE00 4.32
Liliac
#C48EFD
ΔE00 4.83
Mediumpurple
#9370DB
ΔE00 7.06
Bright Lavender
#C760FF
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17FF2 #C0F27F
analogous
#7F87F2 #B17FF2 #EA7FF2
triadic
#B17FF2 #F2B17F #7FF2B1
tetradic
#B17FF2 #F27F87 #C0F27F #7FF2EA
square
#B17FF2 #F27F87 #C0F27F #7FF2EA
split-complementary
#B17FF2 #F2EA7F #87F27F
monochromatic
#6E17E0 #8F47EC #B17FF2 #D3B7F8 #EEE3FC
Accessibility & contrast
On white
2.92
#B17FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.19
#B17FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B17FF2
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17FF2 | 1.00 | 2.92 | 7.19 | 7.19 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#6997EF
Tritanopia (blue-blind)
#A594AD
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b17ff2; /* rgb */ color: rgb(177, 127, 242); /* oklch */ color: oklch(69.4% 0.169 302.3);
Tailwind
colors: {
custom: {
50: '#cba5f7',
500: '#b17ff2',
950: '#000000',
},
}SCSS
$custom: #b17ff2; $custom-light: #cba5f7; $custom-dark: #000000;
JSON
{
"hex": "#b17ff2",
"rgb": {
"r": 177,
"g": 127,
"b": 242
},
"hsl": {
"h": 266.087,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.69353,
"c": 0.1688,
"h": 302.3
},
"luminance": 0.30937
}Semantic roles & 50–950 ramp
primary
#B17FF2
secondary
#E7F4D7
accent
#DE0881
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85