#B04CCF#B04CCF

#B04CCF is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.0% C 0.207 H 317.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B04CCF
RGBrgb(176, 76, 207)
HSLhsl(286, 58%, 55%)
HSVhsv(286, 63%, 81%)
CMYKcmyk(15%, 63.3%, 0%, 18.8%)
CIE-LABlab(50.58, 59.96, -50.08)
CIE-LCHlch(50.58, 78.13, 320.13°)
OKLaboklab(59.98% 0.1521 -0.1403)
OKLCHoklch(59.98% 0.207 317.3)
XYZxyz(31.7498, 18.9052, 60.9960)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CCF #6BCF4C
analogous
#6F4CCF #B04CCF #CF4CAC
triadic
#B04CCF #CFB04C #4CCFB0
tetradic
#B04CCF #CF6F4C #6BCF4C #4CACCF
square
#B04CCF #CF6F4C #6BCF4C #4CACCF
split-complementary
#B04CCF #ACCF4C #4CCF6F
monochromatic
#69227F #912FAF #B04CCF #C57CDC #DBADE9

Accessibility & contrast

On white

4.39
#B04CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B04CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CCF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CCF#FFFFFF#000000##000000
##B04CCF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2072D3
Deuteranopia (green-blind)
#507BCC
Tritanopia (blue-blind)
#AF6387
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b04ccf;
/* rgb */ color: rgb(176, 76, 207);
/* oklch */ color: oklch(60.0% 0.207 317.3);
Tailwind
colors: {
  custom: {
    50: '#cb84de',
    500: '#b04ccf',
    950: '#000000',
  },
}
SCSS
$custom: #b04ccf;
$custom-light: #cb84de;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ccf",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 285.802,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5998,
    "c": 0.2069,
    "h": 317.3
  },
  "luminance": 0.18904
}

Semantic roles & 50–950 ramp

primary
#B04CCF
secondary
#ADD7A0
accent
#E1476B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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