#B371C2#B371C2
#B371C2 is a light, vivid purple. Relative luminance 0.253; OKLCH L 64.8% C 0.137 H 320.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B371C2 |
|---|---|
| RGB | rgb(179, 113, 194) |
| HSL | hsl(289, 40%, 60%) |
| HSV | hsv(289, 42%, 76%) |
| CMYK | cmyk(7.7%, 41.8%, 0%, 23.9%) |
| CIE-LAB | lab(57.36, 39.55, -31.94) |
| CIE-LCH | lch(57.36, 50.83, 321.08°) |
| OKLab | oklab(64.85% 0.1048 -0.0878) |
| OKLCH | oklch(64.85% 0.137 320) |
| XYZ | xyz(34.2319, 25.2902, 54.1067) |
| Luminance | 0.2529 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 3.13
Wisteria
#A87DC2
ΔE00 4.34
Orchid (survey)
#C875C4
ΔE00 4.53
Deep Lilac
#966EBD
ΔE00 6.36
Dark Lilac
#9C6DA5
ΔE00 6.59
Orchid
#DA70D6
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B371C2 #80C271
analogous
#8B71C2 #B371C2 #C271A8
triadic
#B371C2 #C2B371 #71C2B3
tetradic
#B371C2 #C28B71 #80C271 #71A8C2
square
#B371C2 #C28B71 #80C271 #71A8C2
split-complementary
#B371C2 #A8C271 #71C28B
monochromatic
#733781 #9A4AAC #B371C2 #CA9CD4 #E1C7E7
Accessibility & contrast
On white
3.47
#B371C2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#B371C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B371C2
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B371C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B371C2 | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6685C5
Deuteranopia (green-blind)
#778CC0
Tritanopia (blue-blind)
#B47B90
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #b371c2; /* rgb */ color: rgb(179, 113, 194); /* oklch */ color: oklch(64.8% 0.137 320.0);
Tailwind
colors: {
custom: {
50: '#cb9bd4',
500: '#b371c2',
950: '#000000',
},
}SCSS
$custom: #b371c2; $custom-light: #cb9bd4; $custom-dark: #000000;
JSON
{
"hex": "#b371c2",
"rgb": {
"r": 179,
"g": 113,
"b": 194
},
"hsl": {
"h": 288.889,
"s": 39.901,
"l": 60.196
},
"oklch": {
"l": 0.64846,
"c": 0.13671,
"h": 320
},
"luminance": 0.25289
}Semantic roles & 50–950 ramp
primary
#B371C2
secondary
#BED7B8
accent
#B3334A
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#130E14
muted
#827E83