#B04FD6#B04FD6

#B04FD6 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.8% C 0.210 H 315.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B04FD6
RGBrgb(176, 79, 214)
HSLhsl(283, 62%, 57%)
HSVhsv(283, 63%, 84%)
CMYKcmyk(17.8%, 63.1%, 0%, 16.1%)
CIE-LABlab(51.47, 60.01, -52.65)
CIE-LCHlch(51.47, 79.84, 318.74°)
OKLaboklab(60.76% 0.1485 -0.1478)
OKLCHoklch(60.76% 0.21 315.1)
XYZxyz(32.8361, 19.6782, 65.6739)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FD6 #75D64F
analogous
#6C4FD6 #B04FD6 #D64FB9
triadic
#B04FD6 #D6B04F #4FD6B0
tetradic
#B04FD6 #D66C4F #75D64F #4FB9D6
square
#B04FD6 #D66C4F #75D64F #4FB9D6
split-complementary
#B04FD6 #B9D64F #4FD66C
monochromatic
#6C208A #932CBC #B04FD6 #C681E2 #DDB2ED

Accessibility & contrast

On white

4.25
#B04FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B04FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FD6
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FD6#FFFFFF#000000##000000
##B04FD61.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B75DA
Deuteranopia (green-blind)
#4D7DD3
Tritanopia (blue-blind)
#AD688C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b04fd6;
/* rgb */ color: rgb(176, 79, 214);
/* oklch */ color: oklch(60.8% 0.210 315.1);
Tailwind
colors: {
  custom: {
    50: '#cb86e3',
    500: '#b04fd6',
    950: '#000000',
  },
}
SCSS
$custom: #b04fd6;
$custom-light: #cb86e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fd6",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 283.111,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60757,
    "c": 0.20952,
    "h": 315.1
  },
  "luminance": 0.19677
}

Semantic roles & 50–950 ramp

primary
#B04FD6
secondary
#B4DCA5
accent
#E54370
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C15
muted
#827D84

Preview Lab

Preview with #B04FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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