#B04CD8#B04CD8

#B04CD8 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.5% C 0.215 H 314.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B04CD8
RGBrgb(176, 76, 216)
HSLhsl(283, 64%, 57%)
HSVhsv(283, 65%, 85%)
CMYKcmyk(18.5%, 64.8%, 0%, 15.3%)
CIE-LABlab(51.10, 61.76, -54.38)
CIE-LCHlch(51.10, 82.29, 318.64°)
OKLaboklab(60.53% 0.1519 -0.1528)
OKLCHoklch(60.53% 0.215 314.8)
XYZxyz(32.8816, 19.3580, 66.9568)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CD8 #74D84C
analogous
#6A4CD8 #B04CD8 #D84CBA
triadic
#B04CD8 #D8B04C #4CD8B0
tetradic
#B04CD8 #D86A4C #74D84C #4CBAD8
square
#B04CD8 #D86A4C #74D84C #4CBAD8
split-complementary
#B04CD8 #BAD84C #4CD86A
monochromatic
#6C1E8B #9329BE #B04CD8 #C67EE3 #DCB1EE

Accessibility & contrast

On white

4.31
#B04CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B04CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CD8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CD8#FFFFFF#000000##000000
##B04CD81.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0574DC
Deuteranopia (green-blind)
#487CD5
Tritanopia (blue-blind)
#AD678C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b04cd8;
/* rgb */ color: rgb(176, 76, 216);
/* oklch */ color: oklch(60.5% 0.215 314.8);
Tailwind
colors: {
  custom: {
    50: '#cb85e5',
    500: '#b04cd8',
    950: '#000000',
  },
}
SCSS
$custom: #b04cd8;
$custom-light: #cb85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cd8",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 282.857,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60529,
    "c": 0.21546,
    "h": 314.8
  },
  "luminance": 0.19357
}

Semantic roles & 50–950 ramp

primary
#B04CD8
secondary
#B4DCA4
accent
#E74170
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #B04CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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