#B04BB7#B04BB7

#B04BB7 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.5% C 0.186 H 325.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B04BB7
RGBrgb(176, 75, 183)
HSLhsl(296, 43%, 51%)
HSVhsv(296, 59%, 72%)
CMYKcmyk(3.8%, 59%, 0%, 28.2%)
CIE-LABlab(49.11, 55.84, -38.55)
CIE-LCHlch(49.11, 67.85, 325.38°)
OKLaboklab(58.49% 0.1525 -0.1067)
OKLCHoklch(58.49% 0.186 325)
XYZxyz(28.9671, 17.6828, 46.6779)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BB7 #52B74B
analogous
#7A4BB7 #B04BB7 #B74B88
triadic
#B04BB7 #B7B04B #4BB7B0
tetradic
#B04BB7 #B77A4B #52B74B #4B88B7
square
#B04BB7 #B77A4B #52B74B #4B88B7
split-complementary
#B04BB7 #88B74B #4BB77A
monochromatic
#5D2761 #87388D #B04BB7 #C377C8 #D6A2DA

Accessibility & contrast

On white

4.63
#B04BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B04BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04BB7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BB7#FFFFFF#000000##FFFFFF
##B04BB71.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DBA
Deuteranopia (green-blind)
#5E79B4
Tritanopia (blue-blind)
#B45A7A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04bb7;
/* rgb */ color: rgb(176, 75, 183);
/* oklch */ color: oklch(58.5% 0.186 325.0);
Tailwind
colors: {
  custom: {
    50: '#ca83cd',
    500: '#b04bb7',
    950: '#000000',
  },
}
SCSS
$custom: #b04bb7;
$custom-light: #ca83cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bb7",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 296.111,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58493,
    "c": 0.18612,
    "h": 325
  },
  "luminance": 0.17681
}

Semantic roles & 50–950 ramp

primary
#B04BB7
secondary
#9AC797
accent
#D3555D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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