#B576EC#B576EC

#B576EC is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.0% C 0.177 H 307.0°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B576EC
RGBrgb(181, 118, 236)
HSLhsl(272, 76%, 69%)
HSVhsv(272, 50%, 93%)
CMYKcmyk(23.3%, 50%, 0%, 7.5%)
CIE-LABlab(60.64, 46.45, -50.39)
CIE-LCHlch(60.64, 68.53, 312.67°)
OKLaboklab(68% 0.1063 -0.1412)
OKLCHoklch(68% 0.177 307)
XYZxyz(40.6717, 28.8372, 82.7641)
Luminance0.2884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B576EC #ADEC76
analogous
#7A76EC #B576EC #EC76E8
triadic
#B576EC #ECB576 #76ECB5
tetradic
#B576EC #EC7A76 #ADEC76 #76E8EC
square
#B576EC #EC7A76 #ADEC76 #76E8EC
split-complementary
#B576EC #E8EC76 #76EC7A
monochromatic
#7A1CCB #9840E5 #B576EC #D2ACF3 #EFE1FB

Accessibility & contrast

On white

3.10
#B576EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#B576EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B576EC
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B576EC#FFFFFF#000000##000000
##B576EC1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b576ec;
/* rgb */ color: rgb(181, 118, 236);
/* oklch */ color: oklch(68.0% 0.177 307.0);
Tailwind
colors: {
  custom: {
    50: '#ce9ff3',
    500: '#b576ec',
    950: '#000000',
  },
}
SCSS
$custom: #b576ec;
$custom-light: #ce9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#b576ec",
  "rgb": {
    "r": 181,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 272.034,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67995,
    "c": 0.17674,
    "h": 307
  },
  "luminance": 0.28837
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B576EC

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

Preview Lab → · Contrast checker → · Palette generator →

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