#B04CDF#B04CDF

#B04CDF is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.0% C 0.222 H 313.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B04CDF
RGBrgb(176, 76, 223)
HSLhsl(281, 70%, 59%)
HSVhsv(281, 66%, 87%)
CMYKcmyk(21.1%, 65.9%, 0%, 12.5%)
CIE-LABlab(51.53, 63.19, -57.67)
CIE-LCHlch(51.53, 85.55, 317.61°)
OKLaboklab(60.97% 0.1515 -0.1625)
OKLCHoklch(60.97% 0.222 313)
XYZxyz(33.8059, 19.7277, 71.8247)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CDF #7BDF4C
analogous
#664CDF #B04CDF #DF4CC4
triadic
#B04CDF #DFB04C #4CDFB0
tetradic
#B04CDF #DF664C #7BDF4C #4CC4DF
square
#B04CDF #DF664C #7BDF4C #4CC4DF
split-complementary
#B04CDF #C4DF4C #4CDF66
monochromatic
#6E1B96 #9524CA #B04CDF #C780E8 #DEB4F2

Accessibility & contrast

On white

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

On black

4.95
#B04CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CDF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CDF#FFFFFF#000000##000000
##B04CDF1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#417DDC
Tritanopia (blue-blind)
#AB698F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b04cdf;
/* rgb */ color: rgb(176, 76, 223);
/* oklch */ color: oklch(61.0% 0.222 313.0);
Tailwind
colors: {
  custom: {
    50: '#cc85ea',
    500: '#b04cdf',
    950: '#000000',
  },
}
SCSS
$custom: #b04cdf;
$custom-light: #cc85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cdf",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 280.816,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60971,
    "c": 0.22217,
    "h": 313
  },
  "luminance": 0.19727
}

Semantic roles & 50–950 ramp

primary
#B04CDF
secondary
#B9E0A6
accent
#EC3B74
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #B04CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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