#B04FCC#B04FCC

#B04FCC is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.2% C 0.200 H 318.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B04FCC
RGBrgb(176, 79, 204)
HSLhsl(287, 55%, 55%)
HSVhsv(287, 61%, 80%)
CMYKcmyk(13.7%, 61.3%, 0%, 20%)
CIE-LABlab(50.90, 58.01, -47.85)
CIE-LCHlch(50.90, 75.20, 320.48°)
OKLaboklab(60.16% 0.1485 -0.1337)
OKLCHoklch(60.16% 0.2 318)
XYZxyz(31.5980, 19.1830, 59.1533)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FCC #6BCC4F
analogous
#714FCC #B04FCC #CC4FA9
triadic
#B04FCC #CCB04F #4FCCB0
tetradic
#B04FCC #CC714F #6BCC4F #4FA9CC
square
#B04FCC #CC714F #6BCC4F #4FA9CC
split-complementary
#B04FCC #A9CC4F #4FCC71
monochromatic
#69247D #9132AC #B04FCC #C57EDA #DBAEE7

Accessibility & contrast

On white

4.34
#B04FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B04FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FCC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FCC#FFFFFF#000000##000000
##B04FCC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C73D0
Deuteranopia (green-blind)
#547CC9
Tritanopia (blue-blind)
#AF6486
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04fcc;
/* rgb */ color: rgb(176, 79, 204);
/* oklch */ color: oklch(60.2% 0.200 318.0);
Tailwind
colors: {
  custom: {
    50: '#cb86dc',
    500: '#b04fcc',
    950: '#000000',
  },
}
SCSS
$custom: #b04fcc;
$custom-light: #cb86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fcc",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 286.56,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6016,
    "c": 0.19988,
    "h": 318
  },
  "luminance": 0.19182
}

Semantic roles & 50–950 ramp

primary
#B04FCC
secondary
#ADD5A1
accent
#DE496B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B04FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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