#B04AEB#B04AEB

#B04AEB is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.5% C 0.236 H 310.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B04AEB
RGBrgb(176, 74, 235)
HSLhsl(278, 80%, 61%)
HSVhsv(278, 69%, 92%)
CMYKcmyk(25.1%, 68.5%, 0%, 7.8%)
CIE-LABlab(51.98, 66.54, -63.72)
CIE-LCHlch(51.98, 92.13, 316.24°)
OKLaboklab(61.54% 0.1526 -0.1802)
OKLCHoklch(61.54% 0.236 310.3)
XYZxyz(35.3458, 20.1266, 80.6040)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04AEB #85EB4A
analogous
#5F4AEB #B04AEB #EB4AD6
triadic
#B04AEB #EBB04A #4AEBB0
tetradic
#B04AEB #EB5F4A #85EB4A #4AD6EB
square
#B04AEB #EB5F4A #85EB4A #4AD6EB
split-complementary
#B04AEB #D6EB4A #4AEB5F
monochromatic
#7113A8 #9619DF #B04AEB #C881F1 #E0B8F7

Accessibility & contrast

On white

4.18
#B04AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B04AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04AEB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04AEB#FFFFFF#000000##000000
##B04AEB1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#307EE7
Tritanopia (blue-blind)
#A86D95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b04aeb;
/* rgb */ color: rgb(176, 74, 235);
/* oklch */ color: oklch(61.5% 0.236 310.3);
Tailwind
colors: {
  custom: {
    50: '#cc84f2',
    500: '#b04aeb',
    950: '#000000',
  },
}
SCSS
$custom: #b04aeb;
$custom-light: #cc84f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b04aeb",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 235
  },
  "hsl": {
    "h": 278.012,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61537,
    "c": 0.23614,
    "h": 310.3
  },
  "luminance": 0.20126
}

Semantic roles & 50–950 ramp

primary
#B04AEB
secondary
#C0E7AA
accent
#DC0957
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B04AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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