#B04DED#B04DED

#B04DED is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 62.0% C 0.234 H 309.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B04DED
RGBrgb(176, 77, 237)
HSLhsl(277, 82%, 62%)
HSVhsv(277, 68%, 93%)
CMYKcmyk(25.7%, 67.5%, 0%, 7.1%)
CIE-LABlab(52.57, 65.68, -63.89)
CIE-LCHlch(52.57, 91.63, 315.79°)
OKLaboklab(62% 0.1493 -0.1807)
OKLCHoklch(62% 0.234 309.6)
XYZxyz(35.8414, 20.6530, 82.2027)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DED #8AED4D
analogous
#604DED #B04DED #ED4DDA
triadic
#B04DED #EDB04D #4DEDB0
tetradic
#B04DED #ED604D #8AED4D #4DDAED
square
#B04DED #ED604D #8AED4D #4DDAED
split-complementary
#B04DED #DAED4D #4DED60
monochromatic
#7212AE #9717E6 #B04DED #C985F3 #E1BCF8

Accessibility & contrast

On white

4.09
#B04DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#B04DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DED
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DED#FFFFFF#000000##000000
##B04DED1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#317FE9
Tritanopia (blue-blind)
#A76F97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b04ded;
/* rgb */ color: rgb(176, 77, 237);
/* oklch */ color: oklch(62.0% 0.234 309.6);
Tailwind
colors: {
  custom: {
    50: '#cc86f4',
    500: '#b04ded',
    950: '#000000',
  },
}
SCSS
$custom: #b04ded;
$custom-light: #cc86f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ded",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 237
  },
  "hsl": {
    "h": 277.125,
    "s": 81.633,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61998,
    "c": 0.23444,
    "h": 309.6
  },
  "luminance": 0.20652
}

Semantic roles & 50–950 ramp

primary
#B04DED
secondary
#C4E9AD
accent
#DE0759
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B04DED

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

Preview Lab → · Contrast checker → · Palette generator →

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