#B04CD2#B04CD2

#B04CD2 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.2% C 0.210 H 316.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B04CD2
RGBrgb(176, 76, 210)
HSLhsl(285, 60%, 56%)
HSVhsv(285, 64%, 82%)
CMYKcmyk(16.2%, 63.8%, 0%, 17.6%)
CIE-LABlab(50.75, 60.56, -51.52)
CIE-LCHlch(50.75, 79.51, 319.61°)
OKLaboklab(60.16% 0.1521 -0.1445)
OKLCHoklch(60.16% 0.21 316.5)
XYZxyz(32.1200, 19.0533, 62.9460)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CD2 #6ED24C
analogous
#6D4CD2 #B04CD2 #D24CB1
triadic
#B04CD2 #D2B04C #4CD2B0
tetradic
#B04CD2 #D26D4C #6ED24C #4CB1D2
square
#B04CD2 #D26D4C #6ED24C #4CB1D2
split-complementary
#B04CD2 #B1D24C #4CD26D
monochromatic
#6A2183 #922DB4 #B04CD2 #C67DDE #DBAEEB

Accessibility & contrast

On white

4.37
#B04CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B04CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CD2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CD2#FFFFFF#000000##000000
##B04CD21.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A73D6
Deuteranopia (green-blind)
#4D7CCF
Tritanopia (blue-blind)
#AE6488
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04cd2;
/* rgb */ color: rgb(176, 76, 210);
/* oklch */ color: oklch(60.2% 0.210 316.5);
Tailwind
colors: {
  custom: {
    50: '#cb84e0',
    500: '#b04cd2',
    950: '#000000',
  },
}
SCSS
$custom: #b04cd2;
$custom-light: #cb84e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cd2",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 284.776,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60161,
    "c": 0.20975,
    "h": 316.5
  },
  "luminance": 0.19052
}

Semantic roles & 50–950 ramp

primary
#B04CD2
secondary
#AFD9A1
accent
#E3456D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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