#B152CF#B152CF
#B152CF is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.8% C 0.199 H 317.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B152CF |
|---|---|
| RGB | rgb(177, 82, 207) |
| HSL | hsl(286, 57%, 57%) |
| HSV | hsv(286, 60%, 81%) |
| CMYK | cmyk(14.5%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(51.71, 57.46, -48.27) |
| CIE-LCH | lch(51.71, 75.04, 319.97°) |
| OKLab | oklab(60.83% 0.1461 -0.135) |
| OKLCH | oklch(60.83% 0.199 317.3) |
| XYZ | xyz(32.4096, 19.8879, 61.1509) |
| Luminance | 0.1989 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.05
Lightish Purple
#A552E6
ΔE00 4.73
Amethyst
#9B5FC0
ΔE00 4.87
Pinky Purple
#C94CBE
ΔE00 6.14
Pinkish Purple
#D648D7
ΔE00 6.39
Purple Pink
#D725DE
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B152CF #70CF52
analogous
#7352CF #B152CF #CF52AF
triadic
#B152CF #CFB152 #52CFB1
tetradic
#B152CF #CF7352 #70CF52 #52AFCF
square
#B152CF #CF7352 #70CF52 #52AFCF
split-complementary
#B152CF #AFCF52 #52CF73
monochromatic
#6C2482 #9331B2 #B152CF #C782DC #DCB2EA
Accessibility & contrast
On white
4.22
#B152CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#B152CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B152CF
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B152CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B152CF | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F75D3
Deuteranopia (green-blind)
#557ECC
Tritanopia (blue-blind)
#B06789
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #b152cf; /* rgb */ color: rgb(177, 82, 207); /* oklch */ color: oklch(60.8% 0.199 317.3);
Tailwind
colors: {
custom: {
50: '#cb88de',
500: '#b152cf',
950: '#000000',
},
}SCSS
$custom: #b152cf; $custom-light: #cb88de; $custom-dark: #000000;
JSON
{
"hex": "#b152cf",
"rgb": {
"r": 177,
"g": 82,
"b": 207
},
"hsl": {
"h": 285.6,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.6083,
"c": 0.19892,
"h": 317.3
},
"luminance": 0.19887
}Semantic roles & 50–950 ramp
primary
#B152CF
secondary
#B1D8A5
accent
#E0486C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83