#B547DB#B547DB

#B547DB is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.8% C 0.227 H 316.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B547DB
RGBrgb(181, 71, 219)
HSLhsl(285, 67%, 57%)
HSVhsv(285, 68%, 86%)
CMYKcmyk(17.4%, 67.6%, 0%, 14.1%)
CIE-LABlab(51.20, 65.58, -55.89)
CIE-LCHlch(51.20, 86.17, 319.57°)
OKLaboklab(60.8% 0.1633 -0.157)
OKLCHoklch(60.8% 0.227 316.1)
XYZxyz(34.0935, 19.4460, 68.9616)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B547DB #6DDB47
analogous
#6B47DB #B547DB #DB47B7
triadic
#B547DB #DBB547 #47DBB5
tetradic
#B547DB #DB6B47 #6DDB47 #47B7DB
square
#B547DB #DB6B47 #6DDB47 #47B7DB
split-complementary
#B547DB #B7DB47 #47DB6B
monochromatic
#6F1B8C #9825BF #B547DB #CA7AE5 #DEADEF

Accessibility & contrast

On white

4.30
#B547DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#B547DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B547DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B547DB#FFFFFF#000000##000000
##B547DB1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#477DD8
Tritanopia (blue-blind)
#B3648C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b547db;
/* rgb */ color: rgb(181, 71, 219);
/* oklch */ color: oklch(60.8% 0.227 316.1);
Tailwind
colors: {
  custom: {
    50: '#cf82e7',
    500: '#b547db',
    950: '#000000',
  },
}
SCSS
$custom: #b547db;
$custom-light: #cf82e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b547db",
  "rgb": {
    "r": 181,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 284.595,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60802,
    "c": 0.22654,
    "h": 316.1
  },
  "luminance": 0.19445
}

Semantic roles & 50–950 ramp

primary
#B547DB
secondary
#B0DDA1
accent
#EA3E6A
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B547DB

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

Preview Lab → · Contrast checker → · Palette generator →

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