#B04BBA#B04BBA

#B04BBA is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.7% C 0.189 H 324.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B04BBA
RGBrgb(176, 75, 186)
HSLhsl(295, 45%, 51%)
HSVhsv(295, 60%, 73%)
CMYKcmyk(5.4%, 59.7%, 0%, 27.1%)
CIE-LABlab(49.26, 56.39, -40.05)
CIE-LCHlch(49.26, 69.16, 324.62°)
OKLaboklab(58.66% 0.1527 -0.111)
OKLCHoklch(58.66% 0.189 324)
XYZxyz(29.2827, 17.8090, 48.3399)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BBA #55BA4B
analogous
#784BBA #B04BBA #BA4B8C
triadic
#B04BBA #BAB04B #4BBAB0
tetradic
#B04BBA #BA784B #55BA4B #4B8CBA
square
#B04BBA #BA784B #55BA4B #4B8CBA
split-complementary
#B04BBA #8CBA4B #4BBA78
monochromatic
#5F2664 #883790 #B04BBA #C377CB #D7A3DC

Accessibility & contrast

On white

4.60
#B04BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B04BBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04BBA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BBA#FFFFFF#000000##FFFFFF
##B04BBA1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386DBD
Deuteranopia (green-blind)
#5C79B7
Tritanopia (blue-blind)
#B35B7C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04bba;
/* rgb */ color: rgb(176, 75, 186);
/* oklch */ color: oklch(58.7% 0.189 324.0);
Tailwind
colors: {
  custom: {
    50: '#ca83cf',
    500: '#b04bba',
    950: '#000000',
  },
}
SCSS
$custom: #b04bba;
$custom-light: #ca83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bba",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 294.595,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58656,
    "c": 0.18883,
    "h": 324
  },
  "luminance": 0.17807
}

Semantic roles & 50–950 ramp

primary
#B04BBA
secondary
#9CC998
accent
#D4545F
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B04BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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