#B406FF#B406FF

#B406FF is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 59.6% C 0.299 H 309.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B406FF
RGBrgb(180, 6, 255)
HSLhsl(282, 100%, 51%)
HSVhsv(282, 98%, 100%)
CMYKcmyk(29.4%, 97.6%, 0%, 0%)
CIE-LABlab(48.33, 87.59, -80.82)
CIE-LCHlch(48.33, 119.18, 317.30°)
OKLaboklab(59.55% 0.1918 -0.23)
OKLCHoklch(59.55% 0.299 309.8)
XYZxyz(36.9338, 17.0544, 95.9345)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B406FF #51FF06
analogous
#3706FF #B406FF #FF06CD
triadic
#B406FF #FFB406 #06FFB4
tetradic
#B406FF #FF3706 #51FF06 #06CDFF
square
#B406FF #FF3706 #51FF06 #06CDFF
split-complementary
#B406FF #CDFF06 #06FF37
monochromatic
#61008B #8C00C8 #B406FF #C643FF #D980FF

Accessibility & contrast

On white

4.76
#B406FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B406FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B406FF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B406FF#FFFFFF#000000##FFFFFF
##B406FF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b406ff;
/* rgb */ color: rgb(180, 6, 255);
/* oklch */ color: oklch(59.6% 0.299 309.8);
Tailwind
colors: {
  custom: {
    50: '#d270ff',
    500: '#b406ff',
    950: '#000000',
  },
}
SCSS
$custom: #b406ff;
$custom-light: #d270ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b406ff",
  "rgb": {
    "r": 180,
    "g": 6,
    "b": 255
  },
  "hsl": {
    "h": 281.928,
    "s": 100,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59554,
    "c": 0.29947,
    "h": 309.8
  },
  "luminance": 0.17054
}

Semantic roles & 50–950 ramp

primary
#B406FF
secondary
#9BE779
accent
#FF2969
background
#FDF7FF
surface
#FBEEFF
border
#D4C9D7
text
#150918
muted
#837B86

Preview Lab

Preview with #B406FF

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

Preview Lab → · Contrast checker → · Palette generator →

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