#B45BC2#B45BC2

#B45BC2 is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.7% C 0.174 H 322.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B45BC2
RGBrgb(180, 91, 194)
HSLhsl(292, 46%, 56%)
HSVhsv(292, 53%, 76%)
CMYKcmyk(7.2%, 53.1%, 0%, 23.9%)
CIE-LABlab(53.04, 51.34, -38.68)
CIE-LCHlch(53.04, 64.28, 323.00°)
OKLaboklab(61.67% 0.1372 -0.1071)
OKLCHoklch(61.67% 0.174 322)
XYZxyz(32.3000, 21.0820, 53.3963)
Luminance0.2108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BC2 #69C25B
analogous
#805BC2 #B45BC2 #C25B9C
triadic
#B45BC2 #C2B45B #5BC2B4
tetradic
#B45BC2 #C2805B #69C25B #5B9CC2
square
#B45BC2 #C2805B #69C25B #5B9CC2
split-complementary
#B45BC2 #9CC25B #5BC280
monochromatic
#6C2C77 #953DA3 #B45BC2 #C888D3 #DDB4E3

Accessibility & contrast

On white

4.03
#B45BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#B45BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BC2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BC2#FFFFFF#000000##000000
##B45BC21.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A78C5
Deuteranopia (green-blind)
#6782BF
Tritanopia (blue-blind)
#B66986
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b45bc2;
/* rgb */ color: rgb(180, 91, 194);
/* oklch */ color: oklch(61.7% 0.174 322.0);
Tailwind
colors: {
  custom: {
    50: '#cd8dd5',
    500: '#b45bc2',
    950: '#000000',
  },
}
SCSS
$custom: #b45bc2;
$custom-light: #cd8dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bc2",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 291.845,
    "s": 45.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61665,
    "c": 0.17407,
    "h": 322
  },
  "luminance": 0.21081
}

Semantic roles & 50–950 ramp

primary
#B45BC2
secondary
#ADD2A7
accent
#D55264
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B45BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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