#B545CD#B545CD

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

Color values

HEX#B545CD
RGBrgb(181, 69, 205)
HSLhsl(289, 58%, 54%)
HSVhsv(289, 66%, 80%)
CMYKcmyk(11.7%, 66.3%, 0%, 19.6%)
CIE-LABlab(50.08, 63.72, -49.68)
CIE-LCHlch(50.08, 80.80, 322.06°)
OKLaboklab(59.73% 0.166 -0.1389)
OKLCHoklch(59.73% 0.216 320.1)
XYZxyz(32.2023, 18.4893, 59.6183)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545CD #5DCD45
analogous
#7145CD #B545CD #CD45A1
triadic
#B545CD #CDB545 #45CDB5
tetradic
#B545CD #CD7145 #5DCD45 #45A1CD
square
#B545CD #CD7145 #5DCD45 #45A1CD
split-complementary
#B545CD #A1CD45 #45CD71
monochromatic
#682077 #922DA8 #B545CD #C875DA #DBA5E7

Accessibility & contrast

On white

4.47
#B545CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B545CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545CD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545CD#FFFFFF#000000##000000
##B545CD1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#166FD1
Deuteranopia (green-blind)
#517BCA
Tritanopia (blue-blind)
#B65D84
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b545cd;
/* rgb */ color: rgb(181, 69, 205);
/* oklch */ color: oklch(59.7% 0.216 320.1);
Tailwind
colors: {
  custom: {
    50: '#cf81dd',
    500: '#b545cd',
    950: '#000000',
  },
}
SCSS
$custom: #b545cd;
$custom-light: #cf81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b545cd",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 289.412,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59732,
    "c": 0.21643,
    "h": 320.1
  },
  "luminance": 0.18488
}

Semantic roles & 50–950 ramp

primary
#B545CD
secondary
#A4D49A
accent
#E14762
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B545CD

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

Preview Lab → · Contrast checker → · Palette generator →

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