#B04CD3#B04CD3

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

Color values

HEX#B04CD3
RGBrgb(176, 76, 211)
HSLhsl(284, 61%, 56%)
HSVhsv(284, 64%, 83%)
CMYKcmyk(16.6%, 64%, 0%, 17.3%)
CIE-LABlab(50.81, 60.76, -52.00)
CIE-LCHlch(50.81, 79.97, 319.44°)
OKLaboklab(60.22% 0.1521 -0.1459)
OKLCHoklch(60.22% 0.211 316.2)
XYZxyz(32.2450, 19.1033, 63.6042)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CD3 #6FD34C
analogous
#6D4CD3 #B04CD3 #D34CB3
triadic
#B04CD3 #D3B04C #4CD3B0
tetradic
#B04CD3 #D36D4C #6FD34C #4CB3D3
square
#B04CD3 #D36D4C #6FD34C #4CB3D3
split-complementary
#B04CD3 #B3D34C #4CD36D
monochromatic
#6A2084 #922DB5 #B04CD3 #C67DDF #DBAEEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04CD3#FFFFFF#000000##000000
##B04CD31.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)
#1773D7
Deuteranopia (green-blind)
#4C7CD0
Tritanopia (blue-blind)
#AE6589
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04cd3;
/* rgb */ color: rgb(176, 76, 211);
/* oklch */ color: oklch(60.2% 0.211 316.2);
Tailwind
colors: {
  custom: {
    50: '#cb84e1',
    500: '#b04cd3',
    950: '#000000',
  },
}
SCSS
$custom: #b04cd3;
$custom-light: #cb84e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cd3",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 284.444,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60222,
    "c": 0.2107,
    "h": 316.2
  },
  "luminance": 0.19102
}

Semantic roles & 50–950 ramp

primary
#B04CD3
secondary
#B0D9A2
accent
#E4446D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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