#B04DDD#B04DDD

#B04DDD is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.0% C 0.219 H 313.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B04DDD
RGBrgb(176, 77, 221)
HSLhsl(281, 68%, 58%)
HSVhsv(281, 65%, 87%)
CMYKcmyk(20.4%, 65.2%, 0%, 13.3%)
CIE-LABlab(51.56, 62.34, -56.48)
CIE-LCHlch(51.56, 84.12, 317.82°)
OKLaboklab(60.96% 0.1506 -0.159)
OKLCHoklch(60.96% 0.219 313.4)
XYZxyz(33.6073, 19.7593, 70.4362)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DDD #7ADD4D
analogous
#684DDD #B04DDD #DD4DC2
triadic
#B04DDD #DDB04D #4DDDB0
tetradic
#B04DDD #DD684D #7ADD4D #4DC2DD
square
#B04DDD #DD684D #7ADD4D #4DC2DD
split-complementary
#B04DDD #C2DD4D #4DDD68
monochromatic
#6E1C93 #9526C7 #B04DDD #C780E7 #DEB4F1

Accessibility & contrast

On white

4.24
#B04DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#B04DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DDD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DDD#FFFFFF#000000##000000
##B04DDD1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#447DDA
Tritanopia (blue-blind)
#AC698F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b04ddd;
/* rgb */ color: rgb(176, 77, 221);
/* oklch */ color: oklch(61.0% 0.219 313.4);
Tailwind
colors: {
  custom: {
    50: '#cb85e8',
    500: '#b04ddd',
    950: '#000000',
  },
}
SCSS
$custom: #b04ddd;
$custom-light: #cb85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ddd",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 281.25,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60958,
    "c": 0.21895,
    "h": 313.4
  },
  "luminance": 0.19758
}

Semantic roles & 50–950 ramp

primary
#B04DDD
secondary
#B8DFA6
accent
#EB3D73
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B04DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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