#B04CCB#B04CCB

#B04CCB is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.7% C 0.203 H 318.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B04CCB
RGBrgb(176, 76, 203)
HSLhsl(287, 55%, 55%)
HSVhsv(287, 63%, 80%)
CMYKcmyk(13.3%, 62.6%, 0%, 20.4%)
CIE-LABlab(50.35, 59.17, -48.15)
CIE-LCHlch(50.35, 76.29, 320.86°)
OKLaboklab(59.74% 0.1521 -0.1346)
OKLCHoklch(59.74% 0.203 318.5)
XYZxyz(31.2670, 18.7121, 58.4531)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CCB #67CB4C
analogous
#714CCB #B04CCB #CB4CA7
triadic
#B04CCB #CBB04C #4CCBB0
tetradic
#B04CCB #CB714C #67CB4C #4CA7CB
square
#B04CCB #CB714C #67CB4C #4CA7CB
split-complementary
#B04CCB #A7CB4C #4CCB71
monochromatic
#672379 #8F31A9 #B04CCB #C57BD9 #DAABE7

Accessibility & contrast

On white

4.43
#B04CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B04CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CCB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CCB#FFFFFF#000000##000000
##B04CCB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2771CF
Deuteranopia (green-blind)
#537BC8
Tritanopia (blue-blind)
#B06285
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b04ccb;
/* rgb */ color: rgb(176, 76, 203);
/* oklch */ color: oklch(59.7% 0.203 318.5);
Tailwind
colors: {
  custom: {
    50: '#cb84db',
    500: '#b04ccb',
    950: '#000000',
  },
}
SCSS
$custom: #b04ccb;
$custom-light: #cb84db;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ccb",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 287.244,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59742,
    "c": 0.20313,
    "h": 318.5
  },
  "luminance": 0.18711
}

Semantic roles & 50–950 ramp

primary
#B04CCB
secondary
#AAD49F
accent
#DE4969
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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