#B404FF#B404FF

#B404FF is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 59.5% C 0.300 H 309.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B404FF
RGBrgb(180, 4, 255)
HSLhsl(282, 100%, 51%)
HSVhsv(282, 98%, 100%)
CMYKcmyk(29.4%, 98.4%, 0%, 0%)
CIE-LABlab(48.27, 87.75, -80.91)
CIE-LCHlch(48.27, 119.36, 317.32°)
OKLaboklab(59.52% 0.1922 -0.2302)
OKLCHoklch(59.52% 0.3 309.9)
XYZxyz(36.9121, 17.0110, 95.9273)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B404FF #4FFF04
analogous
#3604FF #B404FF #FF04CC
triadic
#B404FF #FFB404 #04FFB4
tetradic
#B404FF #FF3604 #4FFF04 #04CCFF
square
#B404FF #FF3604 #4FFF04 #04CCFF
split-complementary
#B404FF #CCFF04 #04FF36
monochromatic
#600089 #8B00C6 #B404FF #C641FF #D97EFF

Accessibility & contrast

On white

4.77
#B404FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#B404FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B404FF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B404FF#FFFFFF#000000##FFFFFF
##B404FF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DFF
Deuteranopia (green-blind)
#0074FB
Tritanopia (blue-blind)
#A95E96
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b404ff;
/* rgb */ color: rgb(180, 4, 255);
/* oklch */ color: oklch(59.5% 0.300 309.9);
Tailwind
colors: {
  custom: {
    50: '#d270ff',
    500: '#b404ff',
    950: '#000000',
  },
}
SCSS
$custom: #b404ff;
$custom-light: #d270ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b404ff",
  "rgb": {
    "r": 180,
    "g": 4,
    "b": 255
  },
  "hsl": {
    "h": 282.072,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59516,
    "c": 0.2999,
    "h": 309.9
  },
  "luminance": 0.1701
}

Semantic roles & 50–950 ramp

primary
#B404FF
secondary
#99E778
accent
#FF2969
background
#FDF7FF
surface
#FBEDFF
border
#D4C8D7
text
#150918
muted
#837B86

Preview Lab

Preview with #B404FF

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

Preview Lab → · Contrast checker → · Palette generator →

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