#B04CDB#B04CDB

#B04CDB is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.7% C 0.218 H 314.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B04CDB
RGBrgb(176, 76, 219)
HSLhsl(282, 67%, 58%)
HSVhsv(282, 65%, 86%)
CMYKcmyk(19.6%, 65.3%, 0%, 14.1%)
CIE-LABlab(51.28, 62.37, -55.80)
CIE-LCHlch(51.28, 83.69, 318.18°)
OKLaboklab(60.72% 0.1518 -0.157)
OKLCHoklch(60.72% 0.218 314)
XYZxyz(33.2730, 19.5145, 69.0181)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CDB #77DB4C
analogous
#684CDB #B04CDB #DB4CBF
triadic
#B04CDB #DBB04C #4CDBB0
tetradic
#B04CDB #DB684C #77DB4C #4CBFDB
square
#B04CDB #DB684C #77DB4C #4CBFDB
split-complementary
#B04CDB #BFDB4C #4CDB68
monochromatic
#6D1D90 #9427C3 #B04CDB #C67FE5 #DDB2EF

Accessibility & contrast

On white

4.28
#B04CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B04CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CDB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CDB#FFFFFF#000000##000000
##B04CDB1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#457DD8
Tritanopia (blue-blind)
#AC688D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b04cdb;
/* rgb */ color: rgb(176, 76, 219);
/* oklch */ color: oklch(60.7% 0.218 314.0);
Tailwind
colors: {
  custom: {
    50: '#cb85e7',
    500: '#b04cdb',
    950: '#000000',
  },
}
SCSS
$custom: #b04cdb;
$custom-light: #cb85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cdb",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 281.958,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60717,
    "c": 0.21834,
    "h": 314
  },
  "luminance": 0.19513
}

Semantic roles & 50–950 ramp

primary
#B04CDB
secondary
#B6DEA5
accent
#E93E72
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #B04CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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