#B476EC#B476EC

#B476EC is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.9% C 0.176 H 306.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#B476EC
RGBrgb(180, 118, 236)
HSLhsl(272, 76%, 69%)
HSVhsv(272, 50%, 93%)
CMYKcmyk(23.7%, 50%, 0%, 7.5%)
CIE-LABlab(60.53, 46.18, -50.57)
CIE-LCHlch(60.53, 68.48, 312.40°)
OKLaboklab(67.89% 0.1051 -0.1418)
OKLCHoklch(67.89% 0.176 306.5)
XYZxyz(40.4380, 28.7167, 82.7532)
Luminance0.2872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B476EC #AEEC76
analogous
#7976EC #B476EC #EC76E9
triadic
#B476EC #ECB476 #76ECB4
tetradic
#B476EC #EC7976 #AEEC76 #76E9EC
square
#B476EC #EC7976 #AEEC76 #76E9EC
split-complementary
#B476EC #E9EC76 #76EC79
monochromatic
#781CCB #9740E5 #B476EC #D1ACF3 #EFE1FB

Accessibility & contrast

On white

3.11
#B476EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#B476EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B476EC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B476EC#FFFFFF#000000##000000
##B476EC1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F0
Deuteranopia (green-blind)
#6692E9
Tritanopia (blue-blind)
#AB8BA6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b476ec;
/* rgb */ color: rgb(180, 118, 236);
/* oklch */ color: oklch(67.9% 0.176 306.5);
Tailwind
colors: {
  custom: {
    50: '#cd9ff3',
    500: '#b476ec',
    950: '#000000',
  },
}
SCSS
$custom: #b476ec;
$custom-light: #cd9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#b476ec",
  "rgb": {
    "r": 180,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 271.525,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67892,
    "c": 0.17645,
    "h": 306.5
  },
  "luminance": 0.28716
}

Semantic roles & 50–950 ramp

primary
#B476EC
secondary
#DEF0CE
accent
#D80E6E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B476EC

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

Preview Lab → · Contrast checker → · Palette generator →

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