#B452CC#B452CC
#B452CC is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.0% C 0.197 H 319.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B452CC |
|---|---|
| RGB | rgb(180, 82, 204) |
| HSL | hsl(288, 54%, 56%) |
| HSV | hsv(288, 60%, 80%) |
| CMYK | cmyk(11.8%, 59.8%, 0%, 20%) |
| CIE-LAB | lab(51.95, 57.60, -46.15) |
| CIE-LCH | lch(51.95, 73.81, 321.30°) |
| OKLab | oklab(61.03% 0.1496 -0.1287) |
| OKLCH | oklch(61.03% 0.197 319.3) |
| XYZ | xyz(32.7374, 20.0989, 59.2701) |
| Luminance | 0.2010 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 1.72
Amethyst
#9B5FC0
ΔE00 5.17
Pinky Purple
#C94CBE
ΔE00 5.27
Lightish Purple
#A552E6
ΔE00 5.59
Pinkish Purple
#D648D7
ΔE00 5.79
Purpley Pink
#C83CB9
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B452CC #6ACC52
analogous
#7752CC #B452CC #CC52A7
triadic
#B452CC #CCB452 #52CCB4
tetradic
#B452CC #CC7752 #6ACC52 #52A7CC
square
#B452CC #CC7752 #6ACC52 #52A7CC
split-complementary
#B452CC #A7CC52 #52CC77
monochromatic
#6D257E #9633AE #B452CC #C881DA #DDB1E8
Accessibility & contrast
On white
4.18
#B452CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#B452CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B452CC
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B452CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B452CC | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3475D0
Deuteranopia (green-blind)
#5A7FC9
Tritanopia (blue-blind)
#B46687
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #b452cc; /* rgb */ color: rgb(180, 82, 204); /* oklch */ color: oklch(61.0% 0.197 319.3);
Tailwind
colors: {
custom: {
50: '#cd88dc',
500: '#b452cc',
950: '#000000',
},
}SCSS
$custom: #b452cc; $custom-light: #cd88dc; $custom-dark: #000000;
JSON
{
"hex": "#b452cc",
"rgb": {
"r": 180,
"g": 82,
"b": 204
},
"hsl": {
"h": 288.197,
"s": 54.464,
"l": 56.078
},
"oklch": {
"l": 0.61034,
"c": 0.19737,
"h": 319.3
},
"luminance": 0.20098
}Semantic roles & 50–950 ramp
primary
#B452CC
secondary
#AED6A4
accent
#DE4A67
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83