#B545CA#B545CA

#B545CA is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.6% C 0.214 H 321.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B545CA
RGBrgb(181, 69, 202)
HSLhsl(291, 56%, 53%)
HSVhsv(291, 66%, 79%)
CMYKcmyk(10.4%, 65.8%, 0%, 20.8%)
CIE-LABlab(49.91, 63.16, -48.23)
CIE-LCHlch(49.91, 79.47, 322.63°)
OKLaboklab(59.55% 0.166 -0.1346)
OKLCHoklch(59.55% 0.214 321)
XYZxyz(31.8436, 18.3459, 57.7295)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545CA #5ACA45
analogous
#7245CA #B545CA #CA459D
triadic
#B545CA #CAB545 #45CAB5
tetradic
#B545CA #CA7245 #5ACA45 #459DCA
square
#B545CA #CA7245 #5ACA45 #459DCA
split-complementary
#B545CA #9DCA45 #45CA72
monochromatic
#672174 #912FA3 #B545CA #C875D8 #DBA4E5

Accessibility & contrast

On white

4.50
#B545CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#B545CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545CA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545CA#FFFFFF#000000##000000
##B545CA1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D6FCE
Deuteranopia (green-blind)
#537BC7
Tritanopia (blue-blind)
#B65C82
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b545ca;
/* rgb */ color: rgb(181, 69, 202);
/* oklch */ color: oklch(59.6% 0.214 321.0);
Tailwind
colors: {
  custom: {
    50: '#cf81db',
    500: '#b545ca',
    950: '#000000',
  },
}
SCSS
$custom: #b545ca;
$custom-light: #cf81db;
$custom-dark: #000000;
JSON
{
  "hex": "#b545ca",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 290.526,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59554,
    "c": 0.21378,
    "h": 321
  },
  "luminance": 0.18344
}

Semantic roles & 50–950 ramp

primary
#B545CA
secondary
#A2D299
accent
#DF4961
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B545CA

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

Preview Lab → · Contrast checker → · Palette generator →

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