#B04AC2#B04AC2

#B04AC2 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 59.0% C 0.198 H 321.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B04AC2
RGBrgb(176, 74, 194)
HSLhsl(291, 50%, 53%)
HSVhsv(291, 62%, 76%)
CMYKcmyk(9.3%, 61.9%, 0%, 23.9%)
CIE-LABlab(49.53, 58.33, -44.27)
CIE-LCHlch(49.53, 73.23, 322.80°)
OKLaboklab(58.98% 0.1543 -0.1233)
OKLCHoklch(58.98% 0.198 321.4)
XYZxyz(30.0898, 18.0242, 52.9226)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04AC2 #5CC24A
analogous
#744AC2 #B04AC2 #C24A98
triadic
#B04AC2 #C2B04A #4AC2B0
tetradic
#B04AC2 #C2744A #5CC24A #4A98C2
square
#B04AC2 #C2744A #5CC24A #4A98C2
split-complementary
#B04AC2 #98C24A #4AC274
monochromatic
#62256D #8B349B #B04AC2 #C478D1 #D8A6E1

Accessibility & contrast

On white

4.56
#B04AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B04AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04AC2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04AC2#FFFFFF#000000##000000
##B04AC21.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6EC6
Deuteranopia (green-blind)
#577ABF
Tritanopia (blue-blind)
#B25D7F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b04ac2;
/* rgb */ color: rgb(176, 74, 194);
/* oklch */ color: oklch(59.0% 0.198 321.4);
Tailwind
colors: {
  custom: {
    50: '#cb83d5',
    500: '#b04ac2',
    950: '#000000',
  },
}
SCSS
$custom: #b04ac2;
$custom-light: #cb83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ac2",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 291,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58984,
    "c": 0.19755,
    "h": 321.4
  },
  "luminance": 0.18023
}

Semantic roles & 50–950 ramp

primary
#B04AC2
secondary
#A2CE9A
accent
#D94F63
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B04AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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