#B04BDB#B04BDB

#B04BDB is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.6% C 0.220 H 314.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B04BDB
RGBrgb(176, 75, 219)
HSLhsl(282, 67%, 58%)
HSVhsv(282, 66%, 86%)
CMYKcmyk(19.6%, 65.8%, 0%, 14.1%)
CIE-LABlab(51.13, 62.81, -56.05)
CIE-LCHlch(51.13, 84.18, 318.26°)
OKLaboklab(60.6% 0.1529 -0.1577)
OKLCHoklch(60.6% 0.22 314.1)
XYZxyz(33.2046, 19.3778, 68.9953)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BDB #76DB4B
analogous
#684BDB #B04BDB #DB4BBE
triadic
#B04BDB #DBB04B #4BDBB0
tetradic
#B04BDB #DB684B #76DB4B #4BBEDB
square
#B04BDB #DB684B #76DB4B #4BBEDB
split-complementary
#B04BDB #BEDB4B #4BDB68
monochromatic
#6D1D8F #9427C2 #B04BDB #C67EE5 #DDB1EF

Accessibility & contrast

On white

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

On black

4.88
#B04BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BDB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BDB#FFFFFF#000000##000000
##B04BDB1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#447CD8
Tritanopia (blue-blind)
#AC678D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b04bdb;
/* rgb */ color: rgb(176, 75, 219);
/* oklch */ color: oklch(60.6% 0.220 314.1);
Tailwind
colors: {
  custom: {
    50: '#cb84e7',
    500: '#b04bdb',
    950: '#000000',
  },
}
SCSS
$custom: #b04bdb;
$custom-light: #cb84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bdb",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 282.083,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60604,
    "c": 0.21963,
    "h": 314.1
  },
  "luminance": 0.19377
}

Semantic roles & 50–950 ramp

primary
#B04BDB
secondary
#B5DEA4
accent
#EA3E71
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #B04BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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