#B545DB#B545DB

#B545DB is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.6% C 0.229 H 316.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B545DB
RGBrgb(181, 69, 219)
HSLhsl(285, 68%, 56%)
HSVhsv(285, 68%, 86%)
CMYKcmyk(17.4%, 68.5%, 0%, 14.1%)
CIE-LABlab(50.92, 66.40, -56.35)
CIE-LCHlch(50.92, 87.09, 319.68°)
OKLaboklab(60.6% 0.1653 -0.1584)
OKLCHoklch(60.6% 0.229 316.2)
XYZxyz(33.9684, 19.1958, 68.9199)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545DB #6BDB45
analogous
#6A45DB #B545DB #DB45B6
triadic
#B545DB #DBB545 #45DBB5
tetradic
#B545DB #DB6A45 #6BDB45 #45B6DB
square
#B545DB #DB6A45 #6BDB45 #45B6DB
split-complementary
#B545DB #B6DB45 #45DB6A
monochromatic
#6E1B8B #9725BE #B545DB #C978E5 #DEACEF

Accessibility & contrast

On white

4.34
#B545DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B545DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545DB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545DB#FFFFFF#000000##000000
##B545DB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#457CD8
Tritanopia (blue-blind)
#B3638B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b545db;
/* rgb */ color: rgb(181, 69, 219);
/* oklch */ color: oklch(60.6% 0.229 316.2);
Tailwind
colors: {
  custom: {
    50: '#cf81e7',
    500: '#b545db',
    950: '#000000',
  },
}
SCSS
$custom: #b545db;
$custom-light: #cf81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b545db",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 284.8,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60595,
    "c": 0.22897,
    "h": 316.2
  },
  "luminance": 0.19194
}

Semantic roles & 50–950 ramp

primary
#B545DB
secondary
#AFDD9F
accent
#EA3D69
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B545DB

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

Preview Lab → · Contrast checker → · Palette generator →

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