#B04CC7#B04CC7

#B04CC7 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.5% C 0.199 H 319.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B04CC7
RGBrgb(176, 76, 199)
HSLhsl(289, 52%, 54%)
HSVhsv(289, 62%, 78%)
CMYKcmyk(11.6%, 61.8%, 0%, 22%)
CIE-LABlab(50.13, 58.40, -46.21)
CIE-LCHlch(50.13, 74.47, 321.65°)
OKLaboklab(59.51% 0.1521 -0.1289)
OKLCHoklch(59.51% 0.199 319.7)
XYZxyz(30.7964, 18.5239, 55.9750)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CC7 #63C74C
analogous
#734CC7 #B04CC7 #C74CA1
triadic
#B04CC7 #C7B04C #4CC7B0
tetradic
#B04CC7 #C7734C #63C74C #4CA1C7
square
#B04CC7 #C7734C #63C74C #4CA1C7
split-complementary
#B04CC7 #A1C74C #4CC773
monochromatic
#652474 #8E33A3 #B04CC7 #C57BD6 #D9A9E4

Accessibility & contrast

On white

4.46
#B04CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B04CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CC7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CC7#FFFFFF#000000##000000
##B04CC71.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C70CB
Deuteranopia (green-blind)
#557BC4
Tritanopia (blue-blind)
#B16083
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b04cc7;
/* rgb */ color: rgb(176, 76, 199);
/* oklch */ color: oklch(59.5% 0.199 319.7);
Tailwind
colors: {
  custom: {
    50: '#cb84d8',
    500: '#b04cc7',
    950: '#000000',
  },
}
SCSS
$custom: #b04cc7;
$custom-light: #cb84d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cc7",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 288.78,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59508,
    "c": 0.19938,
    "h": 319.7
  },
  "luminance": 0.18523
}

Semantic roles & 50–950 ramp

primary
#B04CC7
secondary
#A7D29D
accent
#DC4C67
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B04CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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