#B451C2#B451C2
#B451C2 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.4% C 0.189 H 322.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #B451C2 |
|---|---|
| RGB | rgb(180, 81, 194) |
| HSL | hsl(293, 48%, 54%) |
| HSV | hsv(293, 58%, 76%) |
| CMYK | cmyk(7.2%, 58.2%, 0%, 23.9%) |
| CIE-LAB | lab(51.25, 56.15, -41.51) |
| CIE-LCH | lch(51.25, 69.83, 323.53°) |
| OKLab | oklab(60.35% 0.1504 -0.1152) |
| OKLCH | oklch(60.35% 0.189 322.5) |
| XYZ | xyz(31.5014, 19.4848, 53.1301) |
| Luminance | 0.1948 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.05
Pinky Purple
#C94CBE
ΔE00 4.29
Purpley Pink
#C83CB9
ΔE00 4.73
Amethyst
#9B5FC0
ΔE00 5.41
Pinkish Purple
#D648D7
ΔE00 6.07
Purple Pink
#D725DE
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B451C2 #5FC251
analogous
#7C51C2 #B451C2 #C25198
triadic
#B451C2 #C2B451 #51C2B4
tetradic
#B451C2 #C27C51 #5FC251 #5198C2
square
#B451C2 #C27C51 #5FC251 #5198C2
split-complementary
#B451C2 #98C251 #51C27C
monochromatic
#682871 #92379E #B451C2 #C87ED2 #DBACE2
Accessibility & contrast
On white
4.29
#B451C2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#B451C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B451C2
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B451C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B451C2 | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C73C6
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#B66182
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #b451c2; /* rgb */ color: rgb(180, 81, 194); /* oklch */ color: oklch(60.4% 0.189 322.5);
Tailwind
colors: {
custom: {
50: '#cd87d5',
500: '#b451c2',
950: '#000000',
},
}SCSS
$custom: #b451c2; $custom-light: #cd87d5; $custom-dark: #000000;
JSON
{
"hex": "#b451c2",
"rgb": {
"r": 180,
"g": 81,
"b": 194
},
"hsl": {
"h": 292.566,
"s": 48.085,
"l": 53.922
},
"oklch": {
"l": 0.60353,
"c": 0.18943,
"h": 322.5
},
"luminance": 0.19483
}Semantic roles & 50–950 ramp
primary
#B451C2
secondary
#A5D09F
accent
#D85061
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83