#B04DE1#B04DE1

#B04DE1 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.2% C 0.223 H 312.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B04DE1
RGBrgb(176, 77, 225)
HSLhsl(280, 71%, 59%)
HSVhsv(280, 66%, 88%)
CMYKcmyk(21.8%, 65.8%, 0%, 11.8%)
CIE-LABlab(51.81, 63.17, -58.35)
CIE-LCHlch(51.81, 85.99, 317.27°)
OKLaboklab(61.21% 0.1503 -0.1645)
OKLCHoklch(61.21% 0.223 312.4)
XYZxyz(34.1465, 19.9750, 73.2764)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DE1 #7EE14D
analogous
#664DE1 #B04DE1 #E14DC8
triadic
#B04DE1 #E1B04D #4DE1B0
tetradic
#B04DE1 #E1664D #7EE14D #4DC8E1
square
#B04DE1 #E1664D #7EE14D #4DC8E1
split-complementary
#B04DE1 #C8E14D #4DE166
monochromatic
#6F1A9A #9523CE #B04DE1 #C781EA #DEB6F3

Accessibility & contrast

On white

4.20
#B04DE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B04DE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DE1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DE1#FFFFFF#000000##000000
##B04DE11.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#407EDE
Tritanopia (blue-blind)
#AB6B91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b04de1;
/* rgb */ color: rgb(176, 77, 225);
/* oklch */ color: oklch(61.2% 0.223 312.4);
Tailwind
colors: {
  custom: {
    50: '#cc85eb',
    500: '#b04de1',
    950: '#000000',
  },
}
SCSS
$custom: #b04de1;
$custom-light: #cc85eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b04de1",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 225
  },
  "hsl": {
    "h": 280.135,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61212,
    "c": 0.22281,
    "h": 312.4
  },
  "luminance": 0.19974
}

Semantic roles & 50–950 ramp

primary
#B04DE1
secondary
#BBE2A8
accent
#EE3A75
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B04DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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