#B152CE#B152CE
#B152CE is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.8% C 0.198 H 317.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B152CE |
|---|---|
| RGB | rgb(177, 82, 206) |
| HSL | hsl(286, 56%, 56%) |
| HSV | hsv(286, 60%, 81%) |
| CMYK | cmyk(14.1%, 60.2%, 0%, 19.2%) |
| CIE-LAB | lab(51.65, 57.26, -47.78) |
| CIE-LCH | lch(51.65, 74.58, 320.15°) |
| OKLab | oklab(60.77% 0.1461 -0.1335) |
| OKLCH | oklch(60.77% 0.198 317.6) |
| XYZ | xyz(32.2878, 19.8392, 60.5091) |
| Luminance | 0.1984 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.07
Amethyst
#9B5FC0
ΔE00 4.83
Lightish Purple
#A552E6
ΔE00 4.88
Pinky Purple
#C94CBE
ΔE00 6.03
Pinkish Purple
#D648D7
ΔE00 6.38
Purple Pink
#D725DE
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B152CE #6FCE52
analogous
#7352CE #B152CE #CE52AD
triadic
#B152CE #CEB152 #52CEB1
tetradic
#B152CE #CE7352 #6FCE52 #52ADCE
square
#B152CE #CE7352 #6FCE52 #52ADCE
split-complementary
#B152CE #ADCE52 #52CE73
monochromatic
#6B2581 #9332B1 #B152CE #C782DC #DCB1E9
Accessibility & contrast
On white
4.23
#B152CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#B152CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B152CE
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B152CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B152CE | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3075D2
Deuteranopia (green-blind)
#567ECB
Tritanopia (blue-blind)
#B06788
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #b152ce; /* rgb */ color: rgb(177, 82, 206); /* oklch */ color: oklch(60.8% 0.198 317.6);
Tailwind
colors: {
custom: {
50: '#cb88dd',
500: '#b152ce',
950: '#000000',
},
}SCSS
$custom: #b152ce; $custom-light: #cb88dd; $custom-dark: #000000;
JSON
{
"hex": "#b152ce",
"rgb": {
"r": 177,
"g": 82,
"b": 206
},
"hsl": {
"h": 285.968,
"s": 55.856,
"l": 56.471
},
"oklch": {
"l": 0.60772,
"c": 0.19796,
"h": 317.6
},
"luminance": 0.19838
}Semantic roles & 50–950 ramp
primary
#B152CE
secondary
#B0D7A4
accent
#DF496C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83