#B04CCD#B04CCD

#B04CCD is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.9% C 0.205 H 317.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B04CCD
RGBrgb(176, 76, 205)
HSLhsl(287, 56%, 55%)
HSVhsv(287, 63%, 80%)
CMYKcmyk(14.1%, 62.9%, 0%, 19.6%)
CIE-LABlab(50.46, 59.57, -49.12)
CIE-LCHlch(50.46, 77.21, 320.49°)
OKLaboklab(59.86% 0.1521 -0.1374)
OKLCHoklch(59.86% 0.205 317.9)
XYZxyz(31.5068, 18.8081, 59.7165)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CCD #69CD4C
analogous
#704CCD #B04CCD #CD4CA9
triadic
#B04CCD #CDB04C #4CCDB0
tetradic
#B04CCD #CD704C #69CD4C #4CA9CD
square
#B04CCD #CD704C #69CD4C #4CA9CD
split-complementary
#B04CCD #A9CD4C #4CCD70
monochromatic
#68237C #9030AC #B04CCD #C57CDA #DAACE8

Accessibility & contrast

On white

4.41
#B04CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B04CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CCD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CCD#FFFFFF#000000##000000
##B04CCD1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2372D1
Deuteranopia (green-blind)
#517BCA
Tritanopia (blue-blind)
#AF6286
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b04ccd;
/* rgb */ color: rgb(176, 76, 205);
/* oklch */ color: oklch(59.9% 0.205 317.9);
Tailwind
colors: {
  custom: {
    50: '#cb84dd',
    500: '#b04ccd',
    950: '#000000',
  },
}
SCSS
$custom: #b04ccd;
$custom-light: #cb84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ccd",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 286.512,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5986,
    "c": 0.20501,
    "h": 317.9
  },
  "luminance": 0.18807
}

Semantic roles & 50–950 ramp

primary
#B04CCD
secondary
#ACD59F
accent
#E0486A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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