#B04AE4#B04AE4

#B04AE4 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.1% C 0.229 H 311.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B04AE4
RGBrgb(176, 74, 228)
HSLhsl(280, 74%, 59%)
HSVhsv(280, 68%, 89%)
CMYKcmyk(22.8%, 67.5%, 0%, 10.6%)
CIE-LABlab(51.53, 65.08, -60.50)
CIE-LCHlch(51.53, 88.86, 317.09°)
OKLaboklab(61.07% 0.1533 -0.1707)
OKLCHoklch(61.07% 0.229 311.9)
XYZxyz(34.3543, 19.7300, 75.3823)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04AE4 #7EE44A
analogous
#634AE4 #B04AE4 #E44ACB
triadic
#B04AE4 #E4B04A #4AE4B0
tetradic
#B04AE4 #E4634A #7EE44A #4ACBE4
square
#B04AE4 #E4634A #7EE44A #4ACBE4
split-complementary
#B04AE4 #CBE44A #4AE463
monochromatic
#6F179C #951FD2 #B04AE4 #C77FEC #DEB5F4

Accessibility & contrast

On white

4.25
#B04AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#B04AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04AE4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04AE4#FFFFFF#000000##000000
##B04AE41.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#397DE1
Tritanopia (blue-blind)
#AA6A91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b04ae4;
/* rgb */ color: rgb(176, 74, 228);
/* oklch */ color: oklch(61.1% 0.229 311.9);
Tailwind
colors: {
  custom: {
    50: '#cc84ed',
    500: '#b04ae4',
    950: '#000000',
  },
}
SCSS
$custom: #b04ae4;
$custom-light: #cc84ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ae4",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 228
  },
  "hsl": {
    "h": 279.74,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61072,
    "c": 0.22946,
    "h": 311.9
  },
  "luminance": 0.19729
}

Semantic roles & 50–950 ramp

primary
#B04AE4
secondary
#BBE3A7
accent
#F13776
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B04AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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