#B04AC7#B04AC7

#B04AC7 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.3% C 0.202 H 319.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B04AC7
RGBrgb(176, 74, 199)
HSLhsl(289, 53%, 54%)
HSVhsv(289, 63%, 78%)
CMYKcmyk(11.6%, 62.8%, 0%, 22%)
CIE-LABlab(49.80, 59.29, -46.72)
CIE-LCHlch(49.80, 75.49, 321.76°)
OKLaboklab(59.27% 0.1545 -0.1304)
OKLCHoklch(59.27% 0.202 319.8)
XYZxyz(30.6608, 18.2526, 55.9298)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04AC7 #61C74A
analogous
#714AC7 #B04AC7 #C74A9F
triadic
#B04AC7 #C7B04A #4AC7B0
tetradic
#B04AC7 #C7714A #61C74A #4A9FC7
square
#B04AC7 #C7714A #61C74A #4A9FC7
split-complementary
#B04AC7 #9FC74A #4AC771
monochromatic
#642473 #8D32A2 #B04AC7 #C479D5 #D9A7E4

Accessibility & contrast

On white

4.52
#B04AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B04AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04AC7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04AC7#FFFFFF#000000##000000
##B04AC71.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#286FCB
Deuteranopia (green-blind)
#547AC4
Tritanopia (blue-blind)
#B15F82
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b04ac7;
/* rgb */ color: rgb(176, 74, 199);
/* oklch */ color: oklch(59.3% 0.202 319.8);
Tailwind
colors: {
  custom: {
    50: '#cb83d8',
    500: '#b04ac7',
    950: '#000000',
  },
}
SCSS
$custom: #b04ac7;
$custom-light: #cb83d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ac7",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 288.96,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59273,
    "c": 0.20216,
    "h": 319.8
  },
  "luminance": 0.18251
}

Semantic roles & 50–950 ramp

primary
#B04AC7
secondary
#A5D19C
accent
#DC4C66
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B04AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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