#B04FC8#B04FC8

#B04FC8 is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.9% C 0.196 H 319.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B04FC8
RGBrgb(176, 79, 200)
HSLhsl(288, 52%, 55%)
HSVhsv(288, 61%, 78%)
CMYKcmyk(12%, 60.5%, 0%, 21.6%)
CIE-LABlab(50.68, 57.22, -45.90)
CIE-LCHlch(50.68, 73.36, 321.26°)
OKLaboklab(59.93% 0.1485 -0.1281)
OKLCHoklch(59.93% 0.196 319.2)
XYZxyz(31.1245, 18.9935, 56.6590)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FC8 #67C84F
analogous
#734FC8 #B04FC8 #C84FA4
triadic
#B04FC8 #C8B04F #4FC8B0
tetradic
#B04FC8 #C8734F #67C84F #4FA4C8
square
#B04FC8 #C8734F #67C84F #4FA4C8
split-complementary
#B04FC8 #A4C84F #4FC873
monochromatic
#672577 #8F34A6 #B04FC8 #C57ED7 #DAACE5

Accessibility & contrast

On white

4.38
#B04FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B04FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FC8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FC8#FFFFFF#000000##000000
##B04FC81.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3072CC
Deuteranopia (green-blind)
#577CC5
Tritanopia (blue-blind)
#B06384
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04fc8;
/* rgb */ color: rgb(176, 79, 200);
/* oklch */ color: oklch(59.9% 0.196 319.2);
Tailwind
colors: {
  custom: {
    50: '#cb86d9',
    500: '#b04fc8',
    950: '#000000',
  },
}
SCSS
$custom: #b04fc8;
$custom-light: #cb86d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fc8",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 288.099,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59928,
    "c": 0.19606,
    "h": 319.2
  },
  "luminance": 0.18992
}

Semantic roles & 50–950 ramp

primary
#B04FC8
secondary
#AAD3A0
accent
#DC4C69
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C15
muted
#827D83

Preview Lab

Preview with #B04FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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