#B04EBE#B04EBE

#B04EBE is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.2% C 0.188 H 322.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B04EBE
RGBrgb(176, 78, 190)
HSLhsl(293, 46%, 53%)
HSVhsv(293, 59%, 75%)
CMYKcmyk(7.4%, 58.9%, 0%, 25.5%)
CIE-LABlab(49.98, 55.76, -41.25)
CIE-LCHlch(49.98, 69.36, 323.51°)
OKLaboklab(59.24% 0.1492 -0.1145)
OKLCHoklch(59.24% 0.188 322.5)
XYZxyz(29.9222, 18.3981, 50.6803)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04EBE #5CBE4E
analogous
#784EBE #B04EBE #BE4E94
triadic
#B04EBE #BEB04E #4EBEB0
tetradic
#B04EBE #BE784E #5CBE4E #4E94BE
square
#B04EBE #BE784E #5CBE4E #4E94BE
split-complementary
#B04EBE #94BE4E #4EBE78
monochromatic
#62276A #8B3897 #B04EBE #C47BCE #D8A8DF

Accessibility & contrast

On white

4.49
#B04EBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#B04EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04EBE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04EBE#FFFFFF#000000##000000
##B04EBE1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3970C1
Deuteranopia (green-blind)
#5C7BBB
Tritanopia (blue-blind)
#B25E7F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b04ebe;
/* rgb */ color: rgb(176, 78, 190);
/* oklch */ color: oklch(59.2% 0.188 322.5);
Tailwind
colors: {
  custom: {
    50: '#ca85d2',
    500: '#b04ebe',
    950: '#000000',
  },
}
SCSS
$custom: #b04ebe;
$custom-light: #ca85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ebe",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 292.5,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59242,
    "c": 0.18811,
    "h": 322.5
  },
  "luminance": 0.18397
}

Semantic roles & 50–950 ramp

primary
#B04EBE
secondary
#A2CC9C
accent
#D65262
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B04EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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