#B04DDB#B04DDB

#B04DDB is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.8% C 0.217 H 314.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B04DDB
RGBrgb(176, 77, 219)
HSLhsl(282, 66%, 58%)
HSVhsv(282, 65%, 86%)
CMYKcmyk(19.6%, 64.8%, 0%, 14.1%)
CIE-LABlab(51.44, 61.93, -55.54)
CIE-LCHlch(51.44, 83.19, 318.11°)
OKLaboklab(60.83% 0.1506 -0.1562)
OKLCHoklch(60.83% 0.217 314)
XYZxyz(33.3424, 19.6534, 69.0412)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DDB #78DB4D
analogous
#694DDB #B04DDB #DB4DBF
triadic
#B04DDB #DBB04D #4DDBB0
tetradic
#B04DDB #DB694D #78DB4D #4DBFDB
square
#B04DDB #DB694D #78DB4D #4DBFDB
split-complementary
#B04DDB #BFDB4D #4DDB69
monochromatic
#6E1D90 #9427C3 #B04DDB #C780E5 #DDB3F0

Accessibility & contrast

On white

4.26
#B04DDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B04DDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DDB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DDB#FFFFFF#000000##000000
##B04DDB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#467DD8
Tritanopia (blue-blind)
#AC688E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b04ddb;
/* rgb */ color: rgb(176, 77, 219);
/* oklch */ color: oklch(60.8% 0.217 314.0);
Tailwind
colors: {
  custom: {
    50: '#cb85e7',
    500: '#b04ddb',
    950: '#000000',
  },
}
SCSS
$custom: #b04ddb;
$custom-light: #cb85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ddb",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 281.831,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60832,
    "c": 0.21703,
    "h": 314
  },
  "luminance": 0.19652
}

Semantic roles & 50–950 ramp

primary
#B04DDB
secondary
#B7DEA6
accent
#E93F72
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B04DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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