#B582CD#B582CD
#B582CD is a light, vivid purple. Relative luminance 0.302; OKLCH L 68.4% C 0.120 H 314.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B582CD |
|---|---|
| RGB | rgb(181, 130, 205) |
| HSL | hsl(281, 43%, 66%) |
| HSV | hsv(281, 37%, 80%) |
| CMYK | cmyk(11.7%, 36.6%, 0%, 19.6%) |
| CIE-LAB | lab(61.82, 33.07, -31.21) |
| CIE-LCH | lch(61.82, 45.47, 316.67°) |
| OKLab | oklab(68.41% 0.0844 -0.0858) |
| OKLCH | oklch(68.41% 0.12 314.5) |
| XYZ | xyz(38.0564, 30.1976, 61.5697) |
| Luminance | 0.3020 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.98
Pale Purple
#B790D4
ΔE00 3.97
Orchid (survey)
#C875C4
ΔE00 5.82
Soft Purple
#A66FB5
ΔE00 6.48
Lavender Pink
#DD85D7
ΔE00 7.66
Light Purple
#BF77F6
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B582CD #9ACD82
analogous
#8F82CD #B582CD #CD82BF
triadic
#B582CD #CDB582 #82CDB5
tetradic
#B582CD #CD8F82 #9ACD82 #82BFCD
square
#B582CD #CD8F82 #9ACD82 #82BFCD
split-complementary
#B582CD #BFCD82 #82CD8F
monochromatic
#7B3D98 #9B56BC #B582CD #CFAEDE #E9D9F0
Accessibility & contrast
On white
2.98
#B582CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#B582CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B582CD
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B582CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B582CD | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7692D0
Deuteranopia (green-blind)
#8297CB
Tritanopia (blue-blind)
#B48C9E
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b582cd; /* rgb */ color: rgb(181, 130, 205); /* oklch */ color: oklch(68.4% 0.120 314.5);
Tailwind
colors: {
custom: {
50: '#cca7dc',
500: '#b582cd',
950: '#000000',
},
}SCSS
$custom: #b582cd; $custom-light: #cca7dc; $custom-dark: #000000;
JSON
{
"hex": "#b582cd",
"rgb": {
"r": 181,
"g": 130,
"b": 205
},
"hsl": {
"h": 280.8,
"s": 42.857,
"l": 65.686
},
"oklch": {
"l": 0.68414,
"c": 0.12035,
"h": 314.5
},
"luminance": 0.30197
}Semantic roles & 50–950 ramp
primary
#B582CD
secondary
#D1E2C9
accent
#B6305B
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#130F15
muted
#827F83