#B04BC7#B04BC7

#B04BC7 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.4% C 0.201 H 319.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B04BC7
RGBrgb(176, 75, 199)
HSLhsl(289, 53%, 54%)
HSVhsv(289, 62%, 78%)
CMYKcmyk(11.6%, 62.3%, 0%, 22%)
CIE-LABlab(49.96, 58.84, -46.47)
CIE-LCHlch(49.96, 74.98, 321.70°)
OKLaboklab(59.39% 0.1533 -0.1297)
OKLCHoklch(59.39% 0.201 319.8)
XYZxyz(30.7281, 18.3872, 55.9523)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BC7 #62C74B
analogous
#724BC7 #B04BC7 #C74BA0
triadic
#B04BC7 #C7B04B #4BC7B0
tetradic
#B04BC7 #C7724B #62C74B #4BA0C7
square
#B04BC7 #C7724B #62C74B #4BA0C7
split-complementary
#B04BC7 #A0C74B #4BC772
monochromatic
#652474 #8E32A2 #B04BC7 #C47AD6 #D9A8E4

Accessibility & contrast

On white

4.49
#B04BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#B04BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BC7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BC7#FFFFFF#000000##000000
##B04BC71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A70CB
Deuteranopia (green-blind)
#557AC4
Tritanopia (blue-blind)
#B16082
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b04bc7;
/* rgb */ color: rgb(176, 75, 199);
/* oklch */ color: oklch(59.4% 0.201 319.8);
Tailwind
colors: {
  custom: {
    50: '#cb84d8',
    500: '#b04bc7',
    950: '#000000',
  },
}
SCSS
$custom: #b04bc7;
$custom-light: #cb84d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bc7",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 288.871,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5939,
    "c": 0.20077,
    "h": 319.8
  },
  "luminance": 0.18386
}

Semantic roles & 50–950 ramp

primary
#B04BC7
secondary
#A6D19C
accent
#DC4C67
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B04BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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