#B04EDA#B04EDA

#B04EDA is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.9% C 0.215 H 314.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B04EDA
RGBrgb(176, 78, 218)
HSLhsl(282, 65%, 58%)
HSVhsv(282, 64%, 85%)
CMYKcmyk(19.3%, 64.2%, 0%, 14.5%)
CIE-LABlab(51.54, 61.28, -54.81)
CIE-LCHlch(51.54, 82.22, 318.19°)
OKLaboklab(60.89% 0.1496 -0.1541)
OKLCHoklch(60.89% 0.215 314.1)
XYZxyz(33.2817, 19.7419, 68.3735)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04EDA #78DA4E
analogous
#6A4EDA #B04EDA #DA4EBE
triadic
#B04EDA #DAB04E #4EDAB0
tetradic
#B04EDA #DA6A4E #78DA4E #4EBEDA
square
#B04EDA #DA6A4E #78DA4E #4EBEDA
split-complementary
#B04EDA #BEDA4E #4EDA6A
monochromatic
#6E1E90 #9429C2 #B04EDA #C781E5 #DDB3EF

Accessibility & contrast

On white

4.24
#B04EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04EDA#FFFFFF#000000##000000
##B04EDA1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0975DE
Deuteranopia (green-blind)
#487DD7
Tritanopia (blue-blind)
#AC698D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b04eda;
/* rgb */ color: rgb(176, 78, 218);
/* oklch */ color: oklch(60.9% 0.215 314.1);
Tailwind
colors: {
  custom: {
    50: '#cb86e6',
    500: '#b04eda',
    950: '#000000',
  },
}
SCSS
$custom: #b04eda;
$custom-light: #cb86e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b04eda",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 282,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60885,
    "c": 0.21474,
    "h": 314.1
  },
  "luminance": 0.19741
}

Semantic roles & 50–950 ramp

primary
#B04EDA
secondary
#B7DEA6
accent
#E83F72
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B04EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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