#B476EA#B476EA

#B476EA is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.8% C 0.174 H 307.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B476EA
RGBrgb(180, 118, 234)
HSLhsl(272, 73%, 69%)
HSVhsv(272, 50%, 92%)
CMYKcmyk(23.1%, 49.6%, 0%, 8.2%)
CIE-LABlab(60.43, 45.73, -49.62)
CIE-LCHlch(60.43, 67.48, 312.66°)
OKLaboklab(67.78% 0.1049 -0.139)
OKLCHoklch(67.78% 0.174 307)
XYZxyz(40.1491, 28.6011, 81.2314)
Luminance0.2860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B476EA #ACEA76
analogous
#7A76EA #B476EA #EA76E6
triadic
#B476EA #EAB476 #76EAB4
tetradic
#B476EA #EA7A76 #ACEA76 #76E6EA
square
#B476EA #EA7A76 #ACEA76 #76E6EA
split-complementary
#B476EA #E6EA76 #76EA7A
monochromatic
#791FC7 #9741E2 #B476EA #D1ABF2 #EEE0FA

Accessibility & contrast

On white

3.12
#B476EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#B476EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B476EA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B476EA#FFFFFF#000000##000000
##B476EA1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#6792E7
Tritanopia (blue-blind)
#AC8AA5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b476ea;
/* rgb */ color: rgb(180, 118, 234);
/* oklch */ color: oklch(67.8% 0.174 307.0);
Tailwind
colors: {
  custom: {
    50: '#cd9ff1',
    500: '#b476ea',
    950: '#000000',
  },
}
SCSS
$custom: #b476ea;
$custom-light: #cd9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b476ea",
  "rgb": {
    "r": 180,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 272.069,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67782,
    "c": 0.17412,
    "h": 307
  },
  "luminance": 0.28601
}

Semantic roles & 50–950 ramp

primary
#B476EA
secondary
#DDEFCD
accent
#D6106C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B476EA

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

Preview Lab → · Contrast checker → · Palette generator →

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