#B04FCB#B04FCB

#B04FCB is a mid, vivid purple. Relative luminance 0.191; OKLCH L 60.1% C 0.199 H 318.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B04FCB
RGBrgb(176, 79, 203)
HSLhsl(287, 54%, 55%)
HSVhsv(287, 61%, 80%)
CMYKcmyk(13.3%, 61.1%, 0%, 20.4%)
CIE-LABlab(50.84, 57.81, -47.36)
CIE-LCHlch(50.84, 74.73, 320.67°)
OKLaboklab(60.1% 0.1485 -0.1323)
OKLCHoklch(60.1% 0.199 318.3)
XYZxyz(31.4785, 19.1352, 58.5237)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FCB #6ACB4F
analogous
#724FCB #B04FCB #CB4FA8
triadic
#B04FCB #CBB04F #4FCBB0
tetradic
#B04FCB #CB724F #6ACB4F #4FA8CB
square
#B04FCB #CB724F #6ACB4F #4FA8CB
split-complementary
#B04FCB #A8CB4F #4FCB72
monochromatic
#68247B #9032AA #B04FCB #C57ED9 #DAADE7

Accessibility & contrast

On white

4.35
#B04FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B04FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FCB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FCB#FFFFFF#000000##000000
##B04FCB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D73CF
Deuteranopia (green-blind)
#557CC8
Tritanopia (blue-blind)
#B06486
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04fcb;
/* rgb */ color: rgb(176, 79, 203);
/* oklch */ color: oklch(60.1% 0.199 318.3);
Tailwind
colors: {
  custom: {
    50: '#cb86db',
    500: '#b04fcb',
    950: '#000000',
  },
}
SCSS
$custom: #b04fcb;
$custom-light: #cb86db;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fcb",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 286.935,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60101,
    "c": 0.19891,
    "h": 318.3
  },
  "luminance": 0.19134
}

Semantic roles & 50–950 ramp

primary
#B04FCB
secondary
#ACD5A1
accent
#DE4A6A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B04FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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