#B451C6#B451C6
#B451C6 is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.6% C 0.193 H 321.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B451C6 |
|---|---|
| RGB | rgb(180, 81, 198) |
| HSL | hsl(291, 51%, 55%) |
| HSV | hsv(291, 59%, 78%) |
| CMYK | cmyk(9.1%, 59.1%, 0%, 22.4%) |
| CIE-LAB | lab(51.46, 56.91, -43.48) |
| CIE-LCH | lch(51.46, 71.62, 322.62°) |
| OKLab | oklab(60.57% 0.1506 -0.1209) |
| OKLCH | oklch(60.57% 0.193 321.2) |
| XYZ | xyz(31.9567, 19.6669, 55.5279) |
| Luminance | 0.1966 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.49
Pinky Purple
#C94CBE
ΔE00 4.65
Purpley Pink
#C83CB9
ΔE00 5.15
Amethyst
#9B5FC0
ΔE00 5.27
Pinkish Purple
#D648D7
ΔE00 5.92
Purple Pink
#D725DE
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B451C6 #63C651
analogous
#7A51C6 #B451C6 #C6519E
triadic
#B451C6 #C6B451 #51C6B4
tetradic
#B451C6 #C67A51 #63C651 #519EC6
square
#B451C6 #C67A51 #63C651 #519EC6
split-complementary
#B451C6 #9EC651 #51C67A
monochromatic
#6A2776 #9336A4 #B451C6 #C87FD5 #DCADE4
Accessibility & contrast
On white
4.26
#B451C6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#B451C6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B451C6
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B451C6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B451C6 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3973CA
Deuteranopia (green-blind)
#5D7EC3
Tritanopia (blue-blind)
#B66384
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #b451c6; /* rgb */ color: rgb(180, 81, 198); /* oklch */ color: oklch(60.6% 0.193 321.2);
Tailwind
colors: {
custom: {
50: '#cd87d8',
500: '#b451c6',
950: '#000000',
},
}SCSS
$custom: #b451c6; $custom-light: #cd87d8; $custom-dark: #000000;
JSON
{
"hex": "#b451c6",
"rgb": {
"r": 180,
"g": 81,
"b": 198
},
"hsl": {
"h": 290.769,
"s": 50.649,
"l": 54.706
},
"oklch": {
"l": 0.60574,
"c": 0.19316,
"h": 321.2
},
"luminance": 0.19665
}Semantic roles & 50–950 ramp
primary
#B451C6
secondary
#A8D2A1
accent
#DA4E63
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83