#B476FE#B476FE

#B476FE is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.9% C 0.197 H 302.6°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#B476FE
RGBrgb(180, 118, 254)
HSLhsl(267, 99%, 73%)
HSVhsv(267, 54%, 100%)
CMYKcmyk(29.1%, 53.5%, 0%, 0.4%)
CIE-LABlab(61.50, 50.36, -58.98)
CIE-LCHlch(61.50, 77.55, 310.49°)
OKLaboklab(68.92% 0.1063 -0.1663)
OKLCHoklch(68.92% 0.197 302.6)
XYZxyz(43.1862, 29.8159, 97.2266)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B476FE #C0FE76
analogous
#767CFE #B476FE #F876FE
triadic
#B476FE #FEB476 #76FEB4
tetradic
#B476FE #FE767C #C0FE76 #76FEF8
square
#B476FE #FE767C #C0FE76 #76FEF8
split-complementary
#B476FE #FEF876 #7CFE76
monochromatic
#7202F8 #9339FE #B476FE #D5B3FE #EEE1FF

Accessibility & contrast

On white

3.02
#B476FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#B476FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B476FE
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B476FE#FFFFFF#000000##000000
##B476FE1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#5894FB
Tritanopia (blue-blind)
#A690AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b476fe;
/* rgb */ color: rgb(180, 118, 254);
/* oklch */ color: oklch(68.9% 0.197 302.6);
Tailwind
colors: {
  custom: {
    50: '#ce9fff',
    500: '#b476fe',
    950: '#000000',
  },
}
SCSS
$custom: #b476fe;
$custom-light: #ce9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#b476fe",
  "rgb": {
    "r": 180,
    "g": 118,
    "b": 254
  },
  "hsl": {
    "h": 267.353,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68917,
    "c": 0.19742,
    "h": 302.6
  },
  "luminance": 0.29816
}

Semantic roles & 50–950 ramp

primary
#B476FE
secondary
#E7F7D4
accent
#E6007D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F18
muted
#837E86

Preview Lab

Preview with #B476FE

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

Preview Lab → · Contrast checker → · Palette generator →

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