#B174FC#B174FC
#B174FC is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.2% C 0.197 H 302.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B174FC |
|---|---|
| RGB | rgb(177, 116, 252) |
| HSL | hsl(267, 96%, 72%) |
| HSV | hsv(267, 54%, 99%) |
| CMYK | cmyk(29.8%, 54%, 0%, 1.2%) |
| CIE-LAB | lab(60.66, 50.22, -59.23) |
| CIE-LCH | lch(60.66, 77.65, 310.30°) |
| OKLab | oklab(68.2% 0.105 -0.1671) |
| OKLCH | oklch(68.2% 0.197 302.1) |
| XYZ | xyz(41.9435, 28.8661, 95.4386) |
| Luminance | 0.2887 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.59
Easter Purple
#C071FE
ΔE00 2.70
Light Purple
#BF77F6
ΔE00 3.15
Bright Lavender
#C760FF
ΔE00 5.17
Bright Lilac
#C95EFB
ΔE00 5.77
Lighter Purple
#A55AF4
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B174FC #BFFC74
analogous
#747BFC #B174FC #F574FC
triadic
#B174FC #FCB174 #74FCB1
tetradic
#B174FC #FC747B #BFFC74 #74FCF5
square
#B174FC #FC747B #BFFC74 #74FCF5
split-complementary
#B174FC #FCF574 #7BFC74
monochromatic
#6F05F0 #8F38FB #B174FC #D3B0FD #EEE1FE
Accessibility & contrast
On white
3.10
#B174FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.77
#B174FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B174FC
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B174FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B174FC | 1.00 | 3.10 | 6.77 | 6.77 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4091FF
Deuteranopia (green-blind)
#5592F9
Tritanopia (blue-blind)
#A38EAD
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #b174fc; /* rgb */ color: rgb(177, 116, 252); /* oklch */ color: oklch(68.2% 0.197 302.1);
Tailwind
colors: {
custom: {
50: '#cc9efe',
500: '#b174fc',
950: '#000000',
},
}SCSS
$custom: #b174fc; $custom-light: #cc9efe; $custom-dark: #000000;
JSON
{
"hex": "#b174fc",
"rgb": {
"r": 177,
"g": 116,
"b": 252
},
"hsl": {
"h": 266.912,
"s": 95.775,
"l": 72.157
},
"oklch": {
"l": 0.68197,
"c": 0.19741,
"h": 302.1
},
"luminance": 0.28866
}Semantic roles & 50–950 ramp
primary
#B174FC
secondary
#E7F7D4
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86