#B04ECD#B04ECD

#B04ECD is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.1% C 0.202 H 317.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B04ECD
RGBrgb(176, 78, 205)
HSLhsl(286, 56%, 55%)
HSVhsv(286, 62%, 80%)
CMYKcmyk(14.1%, 62%, 0%, 19.6%)
CIE-LABlab(50.79, 58.66, -48.60)
CIE-LCHlch(50.79, 76.18, 320.36°)
OKLaboklab(60.1% 0.1498 -0.1359)
OKLCHoklch(60.1% 0.202 317.8)
XYZxyz(31.6468, 19.0879, 59.7631)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04ECD #6BCD4E
analogous
#704ECD #B04ECD #CD4EAB
triadic
#B04ECD #CDB04E #4ECDB0
tetradic
#B04ECD #CD704E #6BCD4E #4EABCD
square
#B04ECD #CD704E #6BCD4E #4EABCD
split-complementary
#B04ECD #ABCD4E #4ECD70
monochromatic
#69237D #9131AD #B04ECD #C57EDA #DBADE8

Accessibility & contrast

On white

4.36
#B04ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B04ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04ECD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04ECD#FFFFFF#000000##000000
##B04ECD1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2873D1
Deuteranopia (green-blind)
#537CCA
Tritanopia (blue-blind)
#AF6486
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04ecd;
/* rgb */ color: rgb(176, 78, 205);
/* oklch */ color: oklch(60.1% 0.202 317.8);
Tailwind
colors: {
  custom: {
    50: '#cb85dd',
    500: '#b04ecd',
    950: '#000000',
  },
}
SCSS
$custom: #b04ecd;
$custom-light: #cb85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ecd",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 286.299,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60098,
    "c": 0.20224,
    "h": 317.8
  },
  "luminance": 0.19087
}

Semantic roles & 50–950 ramp

primary
#B04ECD
secondary
#ADD6A1
accent
#DF496B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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