#B545CE#B545CE

#B545CE is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.8% C 0.217 H 319.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B545CE
RGBrgb(181, 69, 206)
HSLhsl(289, 58%, 54%)
HSVhsv(289, 67%, 81%)
CMYKcmyk(12.1%, 66.5%, 0%, 19.2%)
CIE-LABlab(50.14, 63.91, -50.16)
CIE-LCHlch(50.14, 81.24, 321.87°)
OKLaboklab(59.79% 0.166 -0.1403)
OKLCHoklch(59.79% 0.217 319.8)
XYZxyz(32.3234, 18.5378, 60.2561)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545CE #5ECE45
analogous
#7145CE #B545CE #CE45A3
triadic
#B545CE #CEB545 #45CEB5
tetradic
#B545CE #CE7145 #5ECE45 #45A3CE
square
#B545CE #CE7145 #5ECE45 #45A3CE
split-complementary
#B545CE #A3CE45 #45CE71
monochromatic
#692079 #922DA9 #B545CE #C875DB #DCA6E8

Accessibility & contrast

On white

4.46
#B545CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B545CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545CE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545CE#FFFFFF#000000##000000
##B545CE1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1370D2
Deuteranopia (green-blind)
#507BCB
Tritanopia (blue-blind)
#B65D84
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b545ce;
/* rgb */ color: rgb(181, 69, 206);
/* oklch */ color: oklch(59.8% 0.217 319.8);
Tailwind
colors: {
  custom: {
    50: '#cf81dd',
    500: '#b545ce',
    950: '#000000',
  },
}
SCSS
$custom: #b545ce;
$custom-light: #cf81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b545ce",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 289.051,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59792,
    "c": 0.21732,
    "h": 319.8
  },
  "luminance": 0.18536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B545CE

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

Preview Lab → · Contrast checker → · Palette generator →

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