#B04CBE#B04CBE

#B04CBE is a mid, vivid purple. Relative luminance 0.181; OKLCH L 59.0% C 0.191 H 322.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B04CBE
RGBrgb(176, 76, 190)
HSLhsl(293, 47%, 52%)
HSVhsv(293, 60%, 75%)
CMYKcmyk(7.4%, 60%, 0%, 25.5%)
CIE-LABlab(49.64, 56.68, -41.78)
CIE-LCHlch(49.64, 70.41, 323.61°)
OKLaboklab(59% 0.1517 -0.116)
OKLCHoklch(59% 0.191 322.6)
XYZxyz(29.7823, 18.1182, 50.6336)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CBE #5ABE4C
analogous
#774CBE #B04CBE #BE4C93
triadic
#B04CBE #BEB04C #4CBEB0
tetradic
#B04CBE #BE774C #5ABE4C #4C93BE
square
#B04CBE #BE774C #5ABE4C #4C93BE
split-complementary
#B04CBE #93BE4C #4CBE77
monochromatic
#612669 #8A3796 #B04CBE #C479CE #D8A6DF

Accessibility & contrast

On white

4.54
#B04CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B04CBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CBE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CBE#FFFFFF#000000##000000
##B04CBE1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#366FC2
Deuteranopia (green-blind)
#5B7ABB
Tritanopia (blue-blind)
#B25D7E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b04cbe;
/* rgb */ color: rgb(176, 76, 190);
/* oklch */ color: oklch(59.0% 0.191 322.6);
Tailwind
colors: {
  custom: {
    50: '#ca84d2',
    500: '#b04cbe',
    950: '#000000',
  },
}
SCSS
$custom: #b04cbe;
$custom-light: #ca84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cbe",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 292.632,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58997,
    "c": 0.19102,
    "h": 322.6
  },
  "luminance": 0.18117
}

Semantic roles & 50–950 ramp

primary
#B04CBE
secondary
#A0CC9A
accent
#D65162
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B04CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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