#B545DC#B545DC

#B545DC is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.7% C 0.230 H 316.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B545DC
RGBrgb(181, 69, 220)
HSLhsl(285, 68%, 57%)
HSVhsv(285, 69%, 86%)
CMYKcmyk(17.7%, 68.6%, 0%, 13.7%)
CIE-LABlab(50.98, 66.59, -56.82)
CIE-LCHlch(50.98, 87.54, 319.53°)
OKLaboklab(60.66% 0.1653 -0.1598)
OKLCHoklch(60.66% 0.23 316)
XYZxyz(34.1004, 19.2486, 69.6153)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545DC #6CDC45
analogous
#6A45DC #B545DC #DC45B8
triadic
#B545DC #DCB545 #45DCB5
tetradic
#B545DC #DC6A45 #6CDC45 #45B8DC
square
#B545DC #DC6A45 #6CDC45 #45B8DC
split-complementary
#B545DC #B8DC45 #45DC6A
monochromatic
#6F1A8C #9824C0 #B545DC #C979E6 #DEACEF

Accessibility & contrast

On white

4.33
#B545DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B545DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545DC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545DC#FFFFFF#000000##000000
##B545DC1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#447DD9
Tritanopia (blue-blind)
#B2638C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b545dc;
/* rgb */ color: rgb(181, 69, 220);
/* oklch */ color: oklch(60.7% 0.230 316.0);
Tailwind
colors: {
  custom: {
    50: '#cf81e8',
    500: '#b545dc',
    950: '#000000',
  },
}
SCSS
$custom: #b545dc;
$custom-light: #cf81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b545dc",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 284.503,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60658,
    "c": 0.22987,
    "h": 316
  },
  "luminance": 0.19247
}

Semantic roles & 50–950 ramp

primary
#B545DC
secondary
#AFDDA0
accent
#EB3D6A
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B545DC

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

Preview Lab → · Contrast checker → · Palette generator →

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