#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
RGBrgb(181, 130, 205)
HSLhsl(281, 43%, 66%)
HSVhsv(281, 37%, 80%)
CMYKcmyk(11.7%, 36.6%, 0%, 19.6%)
CIE-LABlab(61.82, 33.07, -31.21)
CIE-LCHlch(61.82, 45.47, 316.67°)
OKLaboklab(68.41% 0.0844 -0.0858)
OKLCHoklch(68.41% 0.12 314.5)
XYZxyz(38.0564, 30.1976, 61.5697)
Luminance0.3020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

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
##B582CD1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.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

Preview Lab

Preview with #B582CD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B582CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva