#B04BCB#B04BCB

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

Color values

HEX#B04BCB
RGBrgb(176, 75, 203)
HSLhsl(287, 55%, 55%)
HSVhsv(287, 63%, 80%)
CMYKcmyk(13.3%, 63.1%, 0%, 20.4%)
CIE-LABlab(50.19, 59.62, -48.41)
CIE-LCHlch(50.19, 76.80, 320.92°)
OKLaboklab(59.62% 0.1533 -0.1354)
OKLCHoklch(59.62% 0.205 318.6)
XYZxyz(31.1986, 18.5754, 58.4304)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BCB #66CB4B
analogous
#704BCB #B04BCB #CB4BA6
triadic
#B04BCB #CBB04B #4BCBB0
tetradic
#B04BCB #CB704B #66CB4B #4BA6CB
square
#B04BCB #CB704B #66CB4B #4BA6CB
split-complementary
#B04BCB #A6CB4B #4BCB70
monochromatic
#672379 #8F31A8 #B04BCB #C57AD9 #DAAAE6

Accessibility & contrast

On white

4.45
#B04BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04BCB#FFFFFF#000000##000000
##B04BCB1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2471CF
Deuteranopia (green-blind)
#527BC8
Tritanopia (blue-blind)
#B06184
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b04bcb;
/* rgb */ color: rgb(176, 75, 203);
/* oklch */ color: oklch(59.6% 0.205 318.6);
Tailwind
colors: {
  custom: {
    50: '#cb84db',
    500: '#b04bcb',
    950: '#000000',
  },
}
SCSS
$custom: #b04bcb;
$custom-light: #cb84db;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bcb",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 287.344,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59625,
    "c": 0.20451,
    "h": 318.6
  },
  "luminance": 0.18574
}

Semantic roles & 50–950 ramp

primary
#B04BCB
secondary
#A9D49E
accent
#DF4969
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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