#B04ABE#B04ABE

#B04ABE is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.8% C 0.194 H 322.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B04ABE
RGBrgb(176, 74, 190)
HSLhsl(293, 47%, 52%)
HSVhsv(293, 61%, 75%)
CMYKcmyk(7.4%, 61.1%, 0%, 25.5%)
CIE-LABlab(49.31, 57.58, -42.30)
CIE-LCHlch(49.31, 71.45, 323.70°)
OKLaboklab(58.76% 0.1542 -0.1175)
OKLCHoklch(58.76% 0.194 322.7)
XYZxyz(29.6466, 17.8469, 50.5884)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04ABE #58BE4A
analogous
#764ABE #B04ABE #BE4A92
triadic
#B04ABE #BEB04A #4ABEB0
tetradic
#B04ABE #BE764A #58BE4A #4A92BE
square
#B04ABE #BE764A #58BE4A #4A92BE
split-complementary
#B04ABE #92BE4A #4ABE76
monochromatic
#602568 #8A3695 #B04ABE #C477CE #D7A4DE

Accessibility & contrast

On white

4.60
#B04ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B04ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04ABE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04ABE#FFFFFF#000000##FFFFFF
##B04ABE1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC2
Deuteranopia (green-blind)
#5979BB
Tritanopia (blue-blind)
#B25B7D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04abe;
/* rgb */ color: rgb(176, 74, 190);
/* oklch */ color: oklch(58.8% 0.194 322.7);
Tailwind
colors: {
  custom: {
    50: '#ca83d2',
    500: '#b04abe',
    950: '#000000',
  },
}
SCSS
$custom: #b04abe;
$custom-light: #ca83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b04abe",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 292.759,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58758,
    "c": 0.1939,
    "h": 322.7
  },
  "luminance": 0.17845
}

Semantic roles & 50–950 ramp

primary
#B04ABE
secondary
#9FCB98
accent
#D75161
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B04ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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