#B04CBF#B04CBF

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

Color values

HEX#B04CBF
RGBrgb(176, 76, 191)
HSLhsl(292, 47%, 52%)
HSVhsv(292, 60%, 75%)
CMYKcmyk(7.9%, 60.2%, 0%, 25.1%)
CIE-LABlab(49.69, 56.87, -42.27)
CIE-LCHlch(49.69, 70.86, 323.37°)
OKLaboklab(59.05% 0.1518 -0.1175)
OKLCHoklch(59.05% 0.192 322.3)
XYZxyz(29.8919, 18.1621, 51.2112)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CBF #5BBF4C
analogous
#774CBF #B04CBF #BF4C94
triadic
#B04CBF #BFB04C #4CBFB0
tetradic
#B04CBF #BF774C #5BBF4C #4C94BF
square
#B04CBF #BF774C #5BBF4C #4C94BF
split-complementary
#B04CBF #94BF4C #4CBF77
monochromatic
#62266B #8B3698 #B04CBF #C479CF #D8A6DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04CBF#FFFFFF#000000##000000
##B04CBF1.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)
#356FC3
Deuteranopia (green-blind)
#5A7ABC
Tritanopia (blue-blind)
#B25D7E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b04cbf;
/* rgb */ color: rgb(176, 76, 191);
/* oklch */ color: oklch(59.1% 0.192 322.3);
Tailwind
colors: {
  custom: {
    50: '#ca84d3',
    500: '#b04cbf',
    950: '#000000',
  },
}
SCSS
$custom: #b04cbf;
$custom-light: #ca84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cbf",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 292.174,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59053,
    "c": 0.19194,
    "h": 322.3
  },
  "luminance": 0.18161
}

Semantic roles & 50–950 ramp

primary
#B04CBF
secondary
#A1CC9A
accent
#D75162
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B04CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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