#B04AD2#B04AD2

#B04AD2 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.9% C 0.212 H 316.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B04AD2
RGBrgb(176, 74, 210)
HSLhsl(285, 60%, 56%)
HSVhsv(285, 65%, 82%)
CMYKcmyk(16.2%, 64.8%, 0%, 17.6%)
CIE-LABlab(50.43, 61.44, -52.03)
CIE-LCHlch(50.43, 80.51, 319.74°)
OKLaboklab(59.93% 0.1544 -0.1459)
OKLCHoklch(59.93% 0.212 316.6)
XYZxyz(31.9844, 18.7820, 62.9008)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04AD2 #6CD24A
analogous
#6C4AD2 #B04AD2 #D24AB0
triadic
#B04AD2 #D2B04A #4AD2B0
tetradic
#B04AD2 #D26C4A #6CD24A #4AB0D2
square
#B04AD2 #D26C4A #6CD24A #4AB0D2
split-complementary
#B04AD2 #B0D24A #4AD26C
monochromatic
#692081 #912CB2 #B04AD2 #C57BDE #DBACEA

Accessibility & contrast

On white

4.42
#B04AD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B04AD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04AD2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04AD2#FFFFFF#000000##000000
##B04AD21.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1272D6
Deuteranopia (green-blind)
#4C7BCF
Tritanopia (blue-blind)
#AE6388
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b04ad2;
/* rgb */ color: rgb(176, 74, 210);
/* oklch */ color: oklch(59.9% 0.212 316.6);
Tailwind
colors: {
  custom: {
    50: '#cb83e0',
    500: '#b04ad2',
    950: '#000000',
  },
}
SCSS
$custom: #b04ad2;
$custom-light: #cb83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ad2",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 210
  },
  "hsl": {
    "h": 285,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59931,
    "c": 0.21243,
    "h": 316.6
  },
  "luminance": 0.18781
}

Semantic roles & 50–950 ramp

primary
#B04AD2
secondary
#AED8A0
accent
#E3446C
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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