#B172FC#B172FC
#B172FC is a light, highly saturated violet. Relative luminance 0.284; OKLCH L 67.9% C 0.200 H 302.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B172FC |
|---|---|
| RGB | rgb(177, 114, 252) |
| HSL | hsl(267, 96%, 72%) |
| HSV | hsv(267, 55%, 99%) |
| CMYK | cmyk(29.8%, 54.8%, 0%, 1.2%) |
| CIE-LAB | lab(60.26, 51.28, -59.88) |
| CIE-LCH | lch(60.26, 78.83, 310.58°) |
| OKLab | oklab(67.9% 0.1075 -0.169) |
| OKLCH | oklch(67.9% 0.2 302.5) |
| XYZ | xyz(41.7155, 28.4100, 95.3626) |
| Luminance | 0.2841 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.27
Easter Purple
#C071FE
ΔE00 2.65
Light Purple
#BF77F6
ΔE00 3.29
Bright Lavender
#C760FF
ΔE00 4.85
Bright Lilac
#C95EFB
ΔE00 5.44
Lighter Purple
#A55AF4
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B172FC #BDFC72
analogous
#7278FC #B172FC #F672FC
triadic
#B172FC #FCB172 #72FCB1
tetradic
#B172FC #FC7278 #BDFC72 #72FCF6
square
#B172FC #FC7278 #BDFC72 #72FCF6
split-complementary
#B172FC #FCF672 #78FC72
monochromatic
#7005EF #9036FB #B172FC #D2AEFD #EEE1FE
Accessibility & contrast
On white
3.14
#B172FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.68
#B172FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B172FC
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B172FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B172FC | 1.00 | 3.14 | 6.68 | 6.68 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C90FF
Deuteranopia (green-blind)
#5291F9
Tritanopia (blue-blind)
#A38DAC
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b172fc; /* rgb */ color: rgb(177, 114, 252); /* oklch */ color: oklch(67.9% 0.200 302.5);
Tailwind
colors: {
custom: {
50: '#cc9dfe',
500: '#b172fc',
950: '#000000',
},
}SCSS
$custom: #b172fc; $custom-light: #cc9dfe; $custom-dark: #000000;
JSON
{
"hex": "#b172fc",
"rgb": {
"r": 177,
"g": 114,
"b": 252
},
"hsl": {
"h": 267.391,
"s": 95.833,
"l": 71.765
},
"oklch": {
"l": 0.67898,
"c": 0.20034,
"h": 302.5
},
"luminance": 0.2841
}Semantic roles & 50–950 ramp
primary
#B172FC
secondary
#E6F6D3
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86