#B45CDC#B45CDC

#B45CDC is a light, vivid purple. Relative luminance 0.225; OKLCH L 63.2% C 0.199 H 313.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B45CDC
RGBrgb(180, 92, 220)
HSLhsl(281, 65%, 61%)
HSVhsv(281, 58%, 86%)
CMYKcmyk(18.2%, 58.2%, 0%, 13.7%)
CIE-LABlab(54.58, 56.08, -51.06)
CIE-LCHlch(54.58, 75.84, 317.68°)
OKLaboklab(63.24% 0.1377 -0.1431)
OKLCHoklch(63.24% 0.199 313.9)
XYZxyz(35.5656, 22.5259, 70.1707)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CDC #84DC5C
analogous
#745CDC #B45CDC #DC5CC4
triadic
#B45CDC #DCB45C #5CDCB4
tetradic
#B45CDC #DC745C #84DC5C #5CC4DC
square
#B45CDC #DC745C #84DC5C #5CC4DC
split-complementary
#B45CDC #C4DC5C #5CDC74
monochromatic
#76229C #9C2CCE #B45CDC #CB8EE7 #E2C1F2

Accessibility & contrast

On white

3.81
#B45CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#B45CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CDC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CDC#FFFFFF#000000##000000
##B45CDC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#357EE0
Deuteranopia (green-blind)
#5885D9
Tritanopia (blue-blind)
#B07293
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b45cdc;
/* rgb */ color: rgb(180, 92, 220);
/* oklch */ color: oklch(63.2% 0.199 313.9);
Tailwind
colors: {
  custom: {
    50: '#cd8ee7',
    500: '#b45cdc',
    950: '#000000',
  },
}
SCSS
$custom: #b45cdc;
$custom-light: #cd8ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cdc",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 281.25,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63235,
    "c": 0.19859,
    "h": 313.9
  },
  "luminance": 0.22525
}

Semantic roles & 50–950 ramp

primary
#B45CDC
secondary
#C1E2B2
accent
#CC1951
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B45CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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