#B04AED#B04AED

#B04AED is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.7% C 0.238 H 309.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B04AED
RGBrgb(176, 74, 237)
HSLhsl(278, 82%, 61%)
HSVhsv(278, 69%, 93%)
CMYKcmyk(25.7%, 68.8%, 0%, 7.1%)
CIE-LABlab(52.11, 66.96, -64.63)
CIE-LCHlch(52.11, 93.06, 316.01°)
OKLaboklab(61.67% 0.1524 -0.1829)
OKLCHoklch(61.67% 0.238 309.8)
XYZxyz(35.6363, 20.2428, 82.1343)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04AED #87ED4A
analogous
#5E4AED #B04AED #ED4AD8
triadic
#B04AED #EDB04A #4AEDB0
tetradic
#B04AED #ED5E4A #87ED4A #4AD8ED
square
#B04AED #ED5E4A #87ED4A #4AD8ED
split-complementary
#B04AED #D8ED4A #4AED5E
monochromatic
#7211AC #9717E3 #B04AED #C882F3 #E1B9F8

Accessibility & contrast

On white

4.16
#B04AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B04AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04AED
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04AED#FFFFFF#000000##000000
##B04AED1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#2C7EE9
Tritanopia (blue-blind)
#A76E96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b04aed;
/* rgb */ color: rgb(176, 74, 237);
/* oklch */ color: oklch(61.7% 0.238 309.8);
Tailwind
colors: {
  custom: {
    50: '#cc84f4',
    500: '#b04aed',
    950: '#000000',
  },
}
SCSS
$custom: #b04aed;
$custom-light: #cc84f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b04aed",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 237
  },
  "hsl": {
    "h": 277.546,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61671,
    "c": 0.23805,
    "h": 309.8
  },
  "luminance": 0.20242
}

Semantic roles & 50–950 ramp

primary
#B04AED
secondary
#C2E8AB
accent
#DE0758
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140B17
muted
#837C85

Preview Lab

Preview with #B04AED

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

Preview Lab → · Contrast checker → · Palette generator →

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