#B04CD5#B04CD5

#B04CD5 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.3% C 0.213 H 315.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B04CD5
RGBrgb(176, 76, 213)
HSLhsl(284, 62%, 57%)
HSVhsv(284, 64%, 84%)
CMYKcmyk(17.4%, 64.3%, 0%, 16.5%)
CIE-LABlab(50.93, 61.16, -52.96)
CIE-LCHlch(50.93, 80.90, 319.11°)
OKLaboklab(60.34% 0.152 -0.1486)
OKLCHoklch(60.34% 0.213 315.6)
XYZxyz(32.4973, 19.2042, 64.9328)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CD5 #71D54C
analogous
#6C4CD5 #B04CD5 #D54CB5
triadic
#B04CD5 #D5B04C #4CD5B0
tetradic
#B04CD5 #D56C4C #71D54C #4CB5D5
square
#B04CD5 #D56C4C #71D54C #4CB5D5
split-complementary
#B04CD5 #B5D54C #4CD56C
monochromatic
#6B2087 #922BB9 #B04CD5 #C67EE1 #DCAFEC

Accessibility & contrast

On white

4.34
#B04CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B04CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CD5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CD5#FFFFFF#000000##000000
##B04CD51.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1273D9
Deuteranopia (green-blind)
#4B7CD2
Tritanopia (blue-blind)
#AE658A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04cd5;
/* rgb */ color: rgb(176, 76, 213);
/* oklch */ color: oklch(60.3% 0.213 315.6);
Tailwind
colors: {
  custom: {
    50: '#cb85e2',
    500: '#b04cd5',
    950: '#000000',
  },
}
SCSS
$custom: #b04cd5;
$custom-light: #cb85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cd5",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 283.796,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60344,
    "c": 0.2126,
    "h": 315.6
  },
  "luminance": 0.19203
}

Semantic roles & 50–950 ramp

primary
#B04CD5
secondary
#B2DAA2
accent
#E5436F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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