#B04ACC#B04ACC

#B04ACC is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.6% C 0.207 H 318.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B04ACC
RGBrgb(176, 74, 204)
HSLhsl(287, 56%, 55%)
HSVhsv(287, 64%, 80%)
CMYKcmyk(13.7%, 63.7%, 0%, 20%)
CIE-LABlab(50.08, 60.26, -49.15)
CIE-LCHlch(50.08, 77.76, 320.80°)
OKLaboklab(59.57% 0.1545 -0.1375)
OKLCHoklch(59.57% 0.207 318.3)
XYZxyz(31.2509, 18.4886, 59.0376)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04ACC #66CC4A
analogous
#6F4ACC #B04ACC #CC4AA7
triadic
#B04ACC #CCB04A #4ACCB0
tetradic
#B04ACC #CC6F4A #66CC4A #4AA7CC
square
#B04ACC #CC6F4A #66CC4A #4AA7CC
split-complementary
#B04ACC #A7CC4A #4ACC6F
monochromatic
#672279 #8F30A9 #B04ACC #C57AD9 #DAA9E7

Accessibility & contrast

On white

4.47
#B04ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B04ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04ACC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04ACC#FFFFFF#000000##000000
##B04ACC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2070D0
Deuteranopia (green-blind)
#507AC9
Tritanopia (blue-blind)
#B06185
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b04acc;
/* rgb */ color: rgb(176, 74, 204);
/* oklch */ color: oklch(59.6% 0.207 318.3);
Tailwind
colors: {
  custom: {
    50: '#cb83dc',
    500: '#b04acc',
    950: '#000000',
  },
}
SCSS
$custom: #b04acc;
$custom-light: #cb83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b04acc",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 287.077,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59568,
    "c": 0.2068,
    "h": 318.3
  },
  "luminance": 0.18487
}

Semantic roles & 50–950 ramp

primary
#B04ACC
secondary
#A9D49D
accent
#DF4869
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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