#B452CE#B452CE
#B452CE is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.1% C 0.199 H 318.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B452CE |
|---|---|
| RGB | rgb(180, 82, 206) |
| HSL | hsl(287, 56%, 56%) |
| HSV | hsv(287, 60%, 81%) |
| CMYK | cmyk(12.6%, 60.2%, 0%, 19.2%) |
| CIE-LAB | lab(52.06, 57.99, -47.12) |
| CIE-LCH | lch(52.06, 74.72, 320.91°) |
| OKLab | oklab(61.15% 0.1497 -0.1315) |
| OKLCH | oklch(61.15% 0.199 318.7) |
| XYZ | xyz(32.9788, 20.1955, 60.5415) |
| Luminance | 0.2019 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 1.58
Amethyst
#9B5FC0
ΔE00 5.21
Lightish Purple
#A552E6
ΔE00 5.29
Pinky Purple
#C94CBE
ΔE00 5.50
Pinkish Purple
#D648D7
ΔE00 5.80
Purple Pink
#D725DE
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B452CE #6CCE52
analogous
#7652CE #B452CE #CE52AA
triadic
#B452CE #CEB452 #52CEB4
tetradic
#B452CE #CE7652 #6CCE52 #52AACE
square
#B452CE #CE7652 #6CCE52 #52AACE
split-complementary
#B452CE #AACE52 #52CE76
monochromatic
#6E2581 #9632B1 #B452CE #C982DC #DDB1E9
Accessibility & contrast
On white
4.17
#B452CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#B452CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B452CE
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B452CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B452CE | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3276D2
Deuteranopia (green-blind)
#597FCB
Tritanopia (blue-blind)
#B46688
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #b452ce; /* rgb */ color: rgb(180, 82, 206); /* oklch */ color: oklch(61.1% 0.199 318.7);
Tailwind
colors: {
custom: {
50: '#cd88dd',
500: '#b452ce',
950: '#000000',
},
}SCSS
$custom: #b452ce; $custom-light: #cd88dd; $custom-dark: #000000;
JSON
{
"hex": "#b452ce",
"rgb": {
"r": 180,
"g": 82,
"b": 206
},
"hsl": {
"h": 287.419,
"s": 55.856,
"l": 56.471
},
"oklch": {
"l": 0.61148,
"c": 0.19928,
"h": 318.7
},
"luminance": 0.20194
}Semantic roles & 50–950 ramp
primary
#B452CE
secondary
#AFD7A4
accent
#DF4968
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83