#B04AE8#B04AE8

#B04AE8 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.3% C 0.233 H 311.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B04AE8
RGBrgb(176, 74, 232)
HSLhsl(279, 77%, 60%)
HSVhsv(279, 68%, 91%)
CMYKcmyk(24.1%, 68.1%, 0%, 9%)
CIE-LABlab(51.79, 65.91, -62.34)
CIE-LCHlch(51.79, 90.73, 316.60°)
OKLaboklab(61.34% 0.1529 -0.1762)
OKLCHoklch(61.34% 0.233 311)
XYZxyz(34.9160, 19.9547, 78.3406)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04AE8 #82E84A
analogous
#614AE8 #B04AE8 #E84AD1
triadic
#B04AE8 #E8B04A #4AE8B0
tetradic
#B04AE8 #E8614A #82E84A #4AD1E8
square
#B04AE8 #E8614A #82E84A #4AD1E8
split-complementary
#B04AE8 #D1E84A #4AE861
monochromatic
#7015A3 #961CD9 #B04AE8 #C880EF #DFB7F6

Accessibility & contrast

On white

4.21
#B04AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B04AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04AE8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04AE8#FFFFFF#000000##000000
##B04AE81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#347DE4
Tritanopia (blue-blind)
#A96C94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b04ae8;
/* rgb */ color: rgb(176, 74, 232);
/* oklch */ color: oklch(61.3% 0.233 311.0);
Tailwind
colors: {
  custom: {
    50: '#cc84f0',
    500: '#b04ae8',
    950: '#000000',
  },
}
SCSS
$custom: #b04ae8;
$custom-light: #cc84f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ae8",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 232
  },
  "hsl": {
    "h": 278.734,
    "s": 77.451,
    "l": 60
  },
  "oklch": {
    "l": 0.61336,
    "c": 0.23328,
    "h": 311
  },
  "luminance": 0.19954
}

Semantic roles & 50–950 ramp

primary
#B04AE8
secondary
#BEE5A8
accent
#F43478
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B04AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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