#B173FC#B173FC
#B173FC is a light, vivid violet. Relative luminance 0.286; OKLCH L 68.0% C 0.199 H 302.3°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B173FC |
|---|---|
| RGB | rgb(177, 115, 252) |
| HSL | hsl(267, 96%, 72%) |
| HSV | hsv(267, 54%, 99%) |
| CMYK | cmyk(29.8%, 54.4%, 0%, 1.2%) |
| CIE-LAB | lab(60.46, 50.75, -59.55) |
| CIE-LCH | lch(60.46, 78.24, 310.44°) |
| OKLab | oklab(68.05% 0.1063 -0.1681) |
| OKLCH | oklch(68.05% 0.199 302.3) |
| XYZ | xyz(41.8289, 28.6368, 95.4004) |
| Luminance | 0.2864 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.42
Easter Purple
#C071FE
ΔE00 2.66
Light Purple
#BF77F6
ΔE00 3.21
Bright Lavender
#C760FF
ΔE00 5.01
Bright Lilac
#C95EFB
ΔE00 5.60
Lighter Purple
#A55AF4
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B173FC #BEFC73
analogous
#737AFC #B173FC #F573FC
triadic
#B173FC #FCB173 #73FCB1
tetradic
#B173FC #FC737A #BEFC73 #73FCF5
square
#B173FC #FC737A #BEFC73 #73FCF5
split-complementary
#B173FC #FCF573 #7AFC73
monochromatic
#6F05EF #9037FB #B173FC #D2AFFD #EEE1FE
Accessibility & contrast
On white
3.12
#B173FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.73
#B173FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B173FC
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B173FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B173FC | 1.00 | 3.12 | 6.73 | 6.73 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E91FF
Deuteranopia (green-blind)
#5391F9
Tritanopia (blue-blind)
#A38EAD
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #b173fc; /* rgb */ color: rgb(177, 115, 252); /* oklch */ color: oklch(68.0% 0.199 302.3);
Tailwind
colors: {
custom: {
50: '#cc9dfe',
500: '#b173fc',
950: '#000000',
},
}SCSS
$custom: #b173fc; $custom-light: #cc9dfe; $custom-dark: #000000;
JSON
{
"hex": "#b173fc",
"rgb": {
"r": 177,
"g": 115,
"b": 252
},
"hsl": {
"h": 267.153,
"s": 95.804,
"l": 71.961
},
"oklch": {
"l": 0.68047,
"c": 0.19887,
"h": 302.3
},
"luminance": 0.28637
}Semantic roles & 50–950 ramp
primary
#B173FC
secondary
#E7F7D4
accent
#E6007E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86