#B04AD4#B04AD4

#B04AD4 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.1% C 0.214 H 316.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B04AD4
RGBrgb(176, 74, 212)
HSLhsl(284, 62%, 56%)
HSVhsv(284, 65%, 83%)
CMYKcmyk(17%, 65.1%, 0%, 16.9%)
CIE-LABlab(50.55, 61.84, -52.99)
CIE-LCHlch(50.55, 81.43, 319.41°)
OKLaboklab(60.05% 0.1543 -0.1487)
OKLCHoklch(60.05% 0.214 316.1)
XYZxyz(32.2351, 18.8823, 64.2212)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04AD4 #6ED44A
analogous
#6B4AD4 #B04AD4 #D44AB3
triadic
#B04AD4 #D4B04A #4AD4B0
tetradic
#B04AD4 #D46B4A #6ED44A #4AB3D4
square
#B04AD4 #D46B4A #6ED44A #4AB3D4
split-complementary
#B04AD4 #B3D44A #4AD46B
monochromatic
#6A1F84 #922BB6 #B04AD4 #C67BE0 #DBADEB

Accessibility & contrast

On white

4.40
#B04AD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B04AD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04AD4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04AD4#FFFFFF#000000##000000
##B04AD41.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B72D8
Deuteranopia (green-blind)
#4A7BD1
Tritanopia (blue-blind)
#AE6489
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b04ad4;
/* rgb */ color: rgb(176, 74, 212);
/* oklch */ color: oklch(60.1% 0.214 316.1);
Tailwind
colors: {
  custom: {
    50: '#cb83e2',
    500: '#b04ad4',
    950: '#000000',
  },
}
SCSS
$custom: #b04ad4;
$custom-light: #cb83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ad4",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 212
  },
  "hsl": {
    "h": 284.348,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60054,
    "c": 0.2143,
    "h": 316.1
  },
  "luminance": 0.18881
}

Semantic roles & 50–950 ramp

primary
#B04AD4
secondary
#AFD9A0
accent
#E5436D
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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