#B04DEE#B04DEE

#B04DEE is a light, highly saturated violet. Relative luminance 0.207; OKLCH L 62.1% C 0.235 H 309.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B04DEE
RGBrgb(176, 77, 238)
HSLhsl(277, 83%, 62%)
HSVhsv(277, 68%, 93%)
CMYKcmyk(26.1%, 67.6%, 0%, 6.7%)
CIE-LABlab(52.63, 65.89, -64.35)
CIE-LCHlch(52.63, 92.10, 315.68°)
OKLaboklab(62.07% 0.1492 -0.1821)
OKLCHoklch(62.07% 0.235 309.3)
XYZxyz(35.9879, 20.7116, 82.9743)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DEE #8BEE4D
analogous
#604DEE #B04DEE #EE4DDC
triadic
#B04DEE #EEB04D #4DEEB0
tetradic
#B04DEE #EE604D #8BEE4D #4DDCEE
square
#B04DEE #EE604D #8BEE4D #4DDCEE
split-complementary
#B04DEE #DCEE4D #4DEE60
monochromatic
#7311B0 #9716E8 #B04DEE #C985F3 #E2BDF9

Accessibility & contrast

On white

4.08
#B04DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B04DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DEE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DEE#FFFFFF#000000##000000
##B04DEE1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#2F7FEA
Tritanopia (blue-blind)
#A77098
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b04dee;
/* rgb */ color: rgb(176, 77, 238);
/* oklch */ color: oklch(62.1% 0.235 309.3);
Tailwind
colors: {
  custom: {
    50: '#cc86f4',
    500: '#b04dee',
    950: '#000000',
  },
}
SCSS
$custom: #b04dee;
$custom-light: #cc86f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dee",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 238
  },
  "hsl": {
    "h": 276.894,
    "s": 82.564,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62065,
    "c": 0.23541,
    "h": 309.3
  },
  "luminance": 0.20711
}

Semantic roles & 50–950 ramp

primary
#B04DEE
secondary
#C5E9AE
accent
#DF075A
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B04DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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