#B545CC#B545CC

#B545CC is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.7% C 0.216 H 320.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B545CC
RGBrgb(181, 69, 204)
HSLhsl(290, 57%, 54%)
HSVhsv(290, 66%, 80%)
CMYKcmyk(11.3%, 66.2%, 0%, 20%)
CIE-LABlab(50.03, 63.53, -49.20)
CIE-LCHlch(50.03, 80.36, 322.25°)
OKLaboklab(59.67% 0.166 -0.1375)
OKLCHoklch(59.67% 0.216 320.4)
XYZxyz(32.0820, 18.4412, 58.9847)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545CC #5CCC45
analogous
#7145CC #B545CC #CC459F
triadic
#B545CC #CCB545 #45CCB5
tetradic
#B545CC #CC7145 #5CCC45 #459FCC
square
#B545CC #CC7145 #5CCC45 #459FCC
split-complementary
#B545CC #9FCC45 #45CC71
monochromatic
#682076 #922EA6 #B545CC #C875D9 #DBA5E6

Accessibility & contrast

On white

4.48
#B545CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B545CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545CC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545CC#FFFFFF#000000##000000
##B545CC1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#186FD0
Deuteranopia (green-blind)
#517BC9
Tritanopia (blue-blind)
#B65D83
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b545cc;
/* rgb */ color: rgb(181, 69, 204);
/* oklch */ color: oklch(59.7% 0.216 320.4);
Tailwind
colors: {
  custom: {
    50: '#cf81dc',
    500: '#b545cc',
    950: '#000000',
  },
}
SCSS
$custom: #b545cc;
$custom-light: #cf81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b545cc",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 289.778,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59672,
    "c": 0.21555,
    "h": 320.4
  },
  "luminance": 0.1844
}

Semantic roles & 50–950 ramp

primary
#B545CC
secondary
#A3D399
accent
#E04862
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B545CC

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

Preview Lab → · Contrast checker → · Palette generator →

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