#B476DB#B476DB

#B476DB is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.0% C 0.157 H 311.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B476DB
RGBrgb(180, 118, 219)
HSLhsl(277, 58%, 66%)
HSVhsv(277, 46%, 86%)
CMYKcmyk(17.8%, 46.1%, 0%, 14.1%)
CIE-LABlab(59.69, 42.39, -42.42)
CIE-LCHlch(59.69, 59.97, 314.98°)
OKLaboklab(66.99% 0.1031 -0.1181)
OKLCHoklch(66.99% 0.157 311.1)
XYZxyz(38.0847, 27.7753, 70.3590)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B476DB #9DDB76
analogous
#8176DB #B476DB #DB76CF
triadic
#B476DB #DBB476 #76DBB4
tetradic
#B476DB #DB8176 #9DDB76 #76CFDB
square
#B476DB #DB8176 #9DDB76 #76CFDB
split-complementary
#B476DB #CFDB76 #76DB81
monochromatic
#7A2DAA #9946CE #B476DB #CFA6E8 #E9D7F4

Accessibility & contrast

On white

3.20
#B476DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#B476DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B476DB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B476DB#FFFFFF#000000##000000
##B476DB1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DDF
Deuteranopia (green-blind)
#7091D8
Tritanopia (blue-blind)
#B0869E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b476db;
/* rgb */ color: rgb(180, 118, 219);
/* oklch */ color: oklch(67.0% 0.157 311.1);
Tailwind
colors: {
  custom: {
    50: '#cc9fe6',
    500: '#b476db',
    950: '#000000',
  },
}
SCSS
$custom: #b476db;
$custom-light: #cc9fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#b476db",
  "rgb": {
    "r": 180,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 276.832,
    "s": 58.382,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66987,
    "c": 0.15671,
    "h": 311.1
  },
  "luminance": 0.27775
}

Semantic roles & 50–950 ramp

primary
#B476DB
secondary
#D3E7C6
accent
#C62060
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140F16
muted
#827E84

Preview Lab

Preview with #B476DB

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

Preview Lab → · Contrast checker → · Palette generator →

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