#B04FCE#B04FCE

#B04FCE is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.3% C 0.202 H 317.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B04FCE
RGBrgb(176, 79, 206)
HSLhsl(286, 56%, 56%)
HSVhsv(286, 62%, 81%)
CMYKcmyk(14.6%, 61.7%, 0%, 19.2%)
CIE-LABlab(51.01, 58.41, -48.82)
CIE-LCHlch(51.01, 76.12, 320.11°)
OKLaboklab(60.28% 0.1486 -0.1366)
OKLCHoklch(60.28% 0.202 317.4)
XYZxyz(31.8395, 19.2796, 60.4247)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FCE #6DCE4F
analogous
#704FCE #B04FCE #CE4FAC
triadic
#B04FCE #CEB04F #4FCEB0
tetradic
#B04FCE #CE704F #6DCE4F #4FACCE
square
#B04FCE #CE704F #6DCE4F #4FACCE
split-complementary
#B04FCE #ACCE4F #4FCE70
monochromatic
#6A237F #9131AF #B04FCE #C57FDB #DBAFE9

Accessibility & contrast

On white

4.32
#B04FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B04FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FCE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FCE#FFFFFF#000000##000000
##B04FCE1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2973D2
Deuteranopia (green-blind)
#537DCB
Tritanopia (blue-blind)
#AF6587
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04fce;
/* rgb */ color: rgb(176, 79, 206);
/* oklch */ color: oklch(60.3% 0.202 317.4);
Tailwind
colors: {
  custom: {
    50: '#cb86dd',
    500: '#b04fce',
    950: '#000000',
  },
}
SCSS
$custom: #b04fce;
$custom-light: #cb86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fce",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 206
  },
  "hsl": {
    "h": 285.827,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60277,
    "c": 0.20179,
    "h": 317.4
  },
  "luminance": 0.19278
}

Semantic roles & 50–950 ramp

primary
#B04FCE
secondary
#AFD7A2
accent
#E0486C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B04FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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