#B04CC8#B04CC8

#B04CC8 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.6% C 0.200 H 319.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B04CC8
RGBrgb(176, 76, 200)
HSLhsl(288, 53%, 54%)
HSVhsv(288, 62%, 78%)
CMYKcmyk(12%, 62%, 0%, 21.6%)
CIE-LABlab(50.18, 58.59, -46.70)
CIE-LCHlch(50.18, 74.92, 321.45°)
OKLaboklab(59.57% 0.1521 -0.1304)
OKLCHoklch(59.57% 0.2 319.4)
XYZxyz(30.9129, 18.5705, 56.5885)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CC8 #64C84C
analogous
#724CC8 #B04CC8 #C84CA2
triadic
#B04CC8 #C8B04C #4CC8B0
tetradic
#B04CC8 #C8724C #64C84C #4CA2C8
square
#B04CC8 #C8724C #64C84C #4CA2C8
split-complementary
#B04CC8 #A2C84C #4CC872
monochromatic
#662475 #8E32A4 #B04CC8 #C57BD6 #D9AAE5

Accessibility & contrast

On white

4.46
#B04CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B04CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CC8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CC8#FFFFFF#000000##000000
##B04CC81.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B71CC
Deuteranopia (green-blind)
#557BC5
Tritanopia (blue-blind)
#B06183
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b04cc8;
/* rgb */ color: rgb(176, 76, 200);
/* oklch */ color: oklch(59.6% 0.200 319.4);
Tailwind
colors: {
  custom: {
    50: '#cb84d9',
    500: '#b04cc8',
    950: '#000000',
  },
}
SCSS
$custom: #b04cc8;
$custom-light: #cb84d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cc8",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 288.387,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59566,
    "c": 0.20031,
    "h": 319.4
  },
  "luminance": 0.18569
}

Semantic roles & 50–950 ramp

primary
#B04CC8
secondary
#A8D29E
accent
#DC4B67
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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