#B04BC2#B04BC2

#B04BC2 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.1% C 0.196 H 321.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B04BC2
RGBrgb(176, 75, 194)
HSLhsl(291, 49%, 53%)
HSVhsv(291, 61%, 76%)
CMYKcmyk(9.3%, 61.3%, 0%, 23.9%)
CIE-LABlab(49.69, 57.89, -44.02)
CIE-LCHlch(49.69, 72.72, 322.75°)
OKLaboklab(59.1% 0.1531 -0.1225)
OKLCHoklch(59.1% 0.196 321.3)
XYZxyz(30.1571, 18.1588, 52.9450)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BC2 #5DC24B
analogous
#744BC2 #B04BC2 #C24B99
triadic
#B04BC2 #C2B04B #4BC2B0
tetradic
#B04BC2 #C2744B #5DC24B #4B99C2
square
#B04BC2 #C2744B #5DC24B #4B99C2
split-complementary
#B04BC2 #99C24B #4BC274
monochromatic
#63256D #8C359B #B04BC2 #C479D1 #D8A6E1

Accessibility & contrast

On white

4.53
#B04BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B04BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BC2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BC2#FFFFFF#000000##000000
##B04BC21.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#306FC6
Deuteranopia (green-blind)
#587ABF
Tritanopia (blue-blind)
#B25E80
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b04bc2;
/* rgb */ color: rgb(176, 75, 194);
/* oklch */ color: oklch(59.1% 0.196 321.3);
Tailwind
colors: {
  custom: {
    50: '#cb83d5',
    500: '#b04bc2',
    950: '#000000',
  },
}
SCSS
$custom: #b04bc2;
$custom-light: #cb83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bc2",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 290.924,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59102,
    "c": 0.19614,
    "h": 321.3
  },
  "luminance": 0.18157
}

Semantic roles & 50–950 ramp

primary
#B04BC2
secondary
#A2CE9B
accent
#D94F64
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B04BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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