#B45DC2#B45DC2

#B45DC2 is a mid, vivid purple. Relative luminance 0.214; OKLCH L 61.9% C 0.171 H 321.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B45DC2
RGBrgb(180, 93, 194)
HSLhsl(292, 45%, 56%)
HSVhsv(292, 52%, 76%)
CMYKcmyk(7.2%, 52.1%, 0%, 23.9%)
CIE-LABlab(53.42, 50.34, -38.09)
CIE-LCHlch(53.42, 63.13, 322.88°)
OKLaboklab(61.94% 0.1345 -0.1054)
OKLCHoklch(61.94% 0.171 321.9)
XYZxyz(32.4733, 21.4285, 53.4541)
Luminance0.2143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DC2 #6BC25D
analogous
#825DC2 #B45DC2 #C25D9E
triadic
#B45DC2 #C2B45D #5DC2B4
tetradic
#B45DC2 #C2825D #6BC25D #5D9EC2
square
#B45DC2 #C2825D #6BC25D #5D9EC2
split-complementary
#B45DC2 #9EC25D #5DC282
monochromatic
#6D2D78 #963EA4 #B45DC2 #C989D3 #DDB6E3

Accessibility & contrast

On white

3.97
#B45DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#B45DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DC2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DC2#FFFFFF#000000##000000
##B45DC21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#6883BF
Tritanopia (blue-blind)
#B66B87
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b45dc2;
/* rgb */ color: rgb(180, 93, 194);
/* oklch */ color: oklch(61.9% 0.171 321.9);
Tailwind
colors: {
  custom: {
    50: '#cd8ed5',
    500: '#b45dc2',
    950: '#000000',
  },
}
SCSS
$custom: #b45dc2;
$custom-light: #cd8ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#b45dc2",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 291.683,
    "s": 45.291,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61942,
    "c": 0.17089,
    "h": 321.9
  },
  "luminance": 0.21427
}

Semantic roles & 50–950 ramp

primary
#B45DC2
secondary
#AED2A9
accent
#D55365
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140D14
muted
#827D83

Preview Lab

Preview with #B45DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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