#B545CF#B545CF

#B545CF is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.218 H 319.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B545CF
RGBrgb(181, 69, 207)
HSLhsl(289, 59%, 54%)
HSVhsv(289, 67%, 81%)
CMYKcmyk(12.6%, 66.7%, 0%, 18.8%)
CIE-LABlab(50.20, 64.10, -50.64)
CIE-LCHlch(50.20, 81.69, 321.69°)
OKLaboklab(59.85% 0.1659 -0.1417)
OKLCHoklch(59.85% 0.218 319.5)
XYZxyz(32.4452, 18.5865, 60.8979)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545CF #5FCF45
analogous
#7045CF #B545CF #CF45A4
triadic
#B545CF #CFB545 #45CFB5
tetradic
#B545CF #CF7045 #5FCF45 #45A4CF
square
#B545CF #CF7045 #5FCF45 #45A4CF
split-complementary
#B545CF #A4CF45 #45CF70
monochromatic
#69207A #932CAB #B545CF #C876DC #DCA6E8

Accessibility & contrast

On white

4.45
#B545CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B545CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545CF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545CF#FFFFFF#000000##000000
##B545CF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1070D3
Deuteranopia (green-blind)
#4F7BCC
Tritanopia (blue-blind)
#B55E85
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b545cf;
/* rgb */ color: rgb(181, 69, 207);
/* oklch */ color: oklch(59.9% 0.218 319.5);
Tailwind
colors: {
  custom: {
    50: '#cf81de',
    500: '#b545cf',
    950: '#000000',
  },
}
SCSS
$custom: #b545cf;
$custom-light: #cf81de;
$custom-dark: #000000;
JSON
{
  "hex": "#b545cf",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 288.696,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59852,
    "c": 0.21821,
    "h": 319.5
  },
  "luminance": 0.18585
}

Semantic roles & 50–950 ramp

primary
#B545CF
secondary
#A6D59B
accent
#E24663
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B545CF

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

Preview Lab → · Contrast checker → · Palette generator →

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