#B04AE1#B04AE1

#B04AE1 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.9% C 0.227 H 312.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B04AE1
RGBrgb(176, 74, 225)
HSLhsl(281, 72%, 59%)
HSVhsv(281, 67%, 88%)
CMYKcmyk(21.8%, 67.1%, 0%, 11.8%)
CIE-LABlab(51.34, 64.47, -59.11)
CIE-LCHlch(51.34, 87.46, 317.48°)
OKLaboklab(60.88% 0.1536 -0.1667)
OKLCHoklch(60.88% 0.227 312.7)
XYZxyz(33.9415, 19.5649, 73.2080)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04AE1 #7BE14A
analogous
#644AE1 #B04AE1 #E14AC6
triadic
#B04AE1 #E1B04A #4AE1B0
tetradic
#B04AE1 #E1644A #7BE14A #4AC6E1
square
#B04AE1 #E1644A #7BE14A #4AC6E1
split-complementary
#B04AE1 #C6E14A #4AE164
monochromatic
#6E1997 #9522CC #B04AE1 #C77EEA #DEB3F2

Accessibility & contrast

On white

4.27
#B04AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B04AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04AE1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04AE1#FFFFFF#000000##000000
##B04AE11.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#3D7DDE
Tritanopia (blue-blind)
#AB6990
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b04ae1;
/* rgb */ color: rgb(176, 74, 225);
/* oklch */ color: oklch(60.9% 0.227 312.7);
Tailwind
colors: {
  custom: {
    50: '#cc84eb',
    500: '#b04ae1',
    950: '#000000',
  },
}
SCSS
$custom: #b04ae1;
$custom-light: #cc84eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ae1",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 280.53,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60877,
    "c": 0.22661,
    "h": 312.7
  },
  "luminance": 0.19564
}

Semantic roles & 50–950 ramp

primary
#B04AE1
secondary
#B9E1A6
accent
#EE3974
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B04AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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