#B04ABF#B04ABF

#B04ABF is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.8% C 0.195 H 322.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B04ABF
RGBrgb(176, 74, 191)
HSLhsl(292, 48%, 52%)
HSVhsv(292, 61%, 75%)
CMYKcmyk(7.9%, 61.3%, 0%, 25.1%)
CIE-LABlab(49.36, 57.77, -42.80)
CIE-LCHlch(49.36, 71.89, 323.47°)
OKLaboklab(58.81% 0.1542 -0.119)
OKLCHoklch(58.81% 0.195 322.4)
XYZxyz(29.7563, 17.8908, 51.1660)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04ABF #59BF4A
analogous
#764ABF #B04ABF #BF4A93
triadic
#B04ABF #BFB04A #4ABFB0
tetradic
#B04ABF #BF764A #59BF4A #4A93BF
square
#B04ABF #BF764A #59BF4A #4A93BF
split-complementary
#B04ABF #93BF4A #4ABF76
monochromatic
#612569 #8A3597 #B04ABF #C477CF #D7A4DF

Accessibility & contrast

On white

4.59
#B04ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B04ABF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04ABF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04ABF#FFFFFF#000000##FFFFFF
##B04ABF1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326EC3
Deuteranopia (green-blind)
#5979BC
Tritanopia (blue-blind)
#B25C7E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04abf;
/* rgb */ color: rgb(176, 74, 191);
/* oklch */ color: oklch(58.8% 0.195 322.4);
Tailwind
colors: {
  custom: {
    50: '#cb83d3',
    500: '#b04abf',
    950: '#000000',
  },
}
SCSS
$custom: #b04abf;
$custom-light: #cb83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b04abf",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 292.308,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58814,
    "c": 0.1948,
    "h": 322.4
  },
  "luminance": 0.17889
}

Semantic roles & 50–950 ramp

primary
#B04ABF
secondary
#9FCC99
accent
#D75062
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B04ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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