#B45BCA#B45BCA

#B45BCA is a light, vivid purple. Relative luminance 0.214; OKLCH L 62.1% C 0.182 H 319.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B45BCA
RGBrgb(180, 91, 202)
HSLhsl(288, 51%, 57%)
HSVhsv(288, 55%, 79%)
CMYKcmyk(10.9%, 55%, 0%, 20.8%)
CIE-LABlab(53.44, 52.90, -42.64)
CIE-LCHlch(53.44, 67.95, 321.13°)
OKLaboklab(62.09% 0.138 -0.1185)
OKLCHoklch(62.09% 0.182 319.3)
XYZxyz(33.2228, 21.4511, 58.2561)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BCA #71CA5B
analogous
#7C5BCA #B45BCA #CA5BA9
triadic
#B45BCA #CAB45B #5BCAB4
tetradic
#B45BCA #CA7C5B #71CA5B #5BA9CA
square
#B45BCA #CA7C5B #71CA5B #5BA9CA
split-complementary
#B45BCA #A9CA5B #5BCA7C
monochromatic
#702A81 #9839AF #B45BCA #C989D9 #DEB8E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45BCA#FFFFFF#000000##000000
##B45BCA1.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)
#447ACE
Deuteranopia (green-blind)
#6283C7
Tritanopia (blue-blind)
#B56C8A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b45bca;
/* rgb */ color: rgb(180, 91, 202);
/* oklch */ color: oklch(62.1% 0.182 319.3);
Tailwind
colors: {
  custom: {
    50: '#cd8dda',
    500: '#b45bca',
    950: '#000000',
  },
}
SCSS
$custom: #b45bca;
$custom-light: #cd8dda;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bca",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 288.108,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62089,
    "c": 0.18194,
    "h": 319.3
  },
  "luminance": 0.2145
}

Semantic roles & 50–950 ramp

primary
#B45BCA
secondary
#B3D7AA
accent
#DB4D69
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B45BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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