#B04DF4#B04DF4

#B04DF4 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.5% C 0.241 H 308.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B04DF4
RGBrgb(176, 77, 244)
HSLhsl(276, 88%, 63%)
HSVhsv(276, 68%, 96%)
CMYKcmyk(27.9%, 68.4%, 0%, 4.3%)
CIE-LABlab(53.03, 67.17, -67.07)
CIE-LCHlch(53.03, 94.93, 315.04°)
OKLaboklab(62.47% 0.1485 -0.1901)
OKLCHoklch(62.47% 0.241 308)
XYZxyz(36.8841, 21.0701, 87.6943)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DF4 #91F44D
analogous
#5C4DF4 #B04DF4 #F44DE4
triadic
#B04DF4 #F4B04D #4DF4B0
tetradic
#B04DF4 #F45C4D #91F44D #4DE4F4
square
#B04DF4 #F45C4D #91F44D #4DE4F4
split-complementary
#B04DF4 #E4F44D #4DF45C
monochromatic
#740CBB #9613F0 #B04DF4 #CA87F8 #E3C0FB

Accessibility & contrast

On white

4.03
#B04DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#B04DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DF4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DF4#FFFFFF#000000##000000
##B04DF41.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF9
Deuteranopia (green-blind)
#2380F0
Tritanopia (blue-blind)
#A5729B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b04df4;
/* rgb */ color: rgb(176, 77, 244);
/* oklch */ color: oklch(62.5% 0.241 308.0);
Tailwind
colors: {
  custom: {
    50: '#cd86f9',
    500: '#b04df4',
    950: '#000000',
  },
}
SCSS
$custom: #b04df4;
$custom-light: #cd86f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b04df4",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 244
  },
  "hsl": {
    "h": 275.569,
    "s": 88.36,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62471,
    "c": 0.24123,
    "h": 308
  },
  "luminance": 0.2107
}

Semantic roles & 50–950 ramp

primary
#B04DF4
secondary
#C9ECB0
accent
#E5015E
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B04DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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