#B04DE3#B04DE3

#B04DE3 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.3% C 0.225 H 311.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B04DE3
RGBrgb(176, 77, 227)
HSLhsl(280, 73%, 60%)
HSVhsv(280, 66%, 89%)
CMYKcmyk(22.5%, 66.1%, 0%, 11%)
CIE-LABlab(51.93, 63.58, -59.29)
CIE-LCHlch(51.93, 86.93, 317.00°)
OKLaboklab(61.34% 0.1502 -0.1672)
OKLCHoklch(61.34% 0.225 311.9)
XYZxyz(34.4210, 20.0848, 74.7217)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DE3 #80E34D
analogous
#654DE3 #B04DE3 #E34DCB
triadic
#B04DE3 #E3B04D #4DE3B0
tetradic
#B04DE3 #E3654D #80E34D #4DCBE3
square
#B04DE3 #E3654D #80E34D #4DCBE3
split-complementary
#B04DE3 #CBE34D #4DE365
monochromatic
#70199D #9621D2 #B04DE3 #C782EB #DFB7F4

Accessibility & contrast

On white

4.19
#B04DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B04DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DE3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DE3#FFFFFF#000000##000000
##B04DE31.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#3E7EE0
Tritanopia (blue-blind)
#AA6B92
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b04de3;
/* rgb */ color: rgb(176, 77, 227);
/* oklch */ color: oklch(61.3% 0.225 311.9);
Tailwind
colors: {
  custom: {
    50: '#cc85ed',
    500: '#b04de3',
    950: '#000000',
  },
}
SCSS
$custom: #b04de3;
$custom-light: #cc85ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b04de3",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 227
  },
  "hsl": {
    "h": 279.6,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61341,
    "c": 0.22474,
    "h": 311.9
  },
  "luminance": 0.20084
}

Semantic roles & 50–950 ramp

primary
#B04DE3
secondary
#BDE3A9
accent
#F03877
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B04DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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