#B577EC#B577EC

#B577EC is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.2% C 0.175 H 306.8°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#B577EC
RGBrgb(181, 119, 236)
HSLhsl(272, 75%, 70%)
HSVhsv(272, 50%, 93%)
CMYKcmyk(23.3%, 49.6%, 0%, 7.5%)
CIE-LABlab(60.85, 45.91, -50.06)
CIE-LCHlch(60.85, 67.92, 312.52°)
OKLaboklab(68.15% 0.105 -0.1403)
OKLCHoklch(68.15% 0.175 306.8)
XYZxyz(40.7901, 29.0739, 82.8036)
Luminance0.2907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B577EC #AEEC77
analogous
#7B77EC #B577EC #EC77E8
triadic
#B577EC #ECB577 #77ECB5
tetradic
#B577EC #EC7B77 #AEEC77 #77E8EC
square
#B577EC #EC7B77 #AEEC77 #77E8EC
split-complementary
#B577EC #E8EC77 #77EC7B
monochromatic
#7A1DCC #9841E4 #B577EC #D2ADF4 #EFE2FB

Accessibility & contrast

On white

3.08
#B577EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#B577EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B577EC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B577EC#FFFFFF#000000##000000
##B577EC1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F0
Deuteranopia (green-blind)
#6893E9
Tritanopia (blue-blind)
#AD8BA7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b577ec;
/* rgb */ color: rgb(181, 119, 236);
/* oklch */ color: oklch(68.2% 0.175 306.8);
Tailwind
colors: {
  custom: {
    50: '#cea0f2',
    500: '#b577ec',
    950: '#000000',
  },
}
SCSS
$custom: #b577ec;
$custom-light: #cea0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b577ec",
  "rgb": {
    "r": 181,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 271.795,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6815,
    "c": 0.17518,
    "h": 306.8
  },
  "luminance": 0.29074
}

Semantic roles & 50–950 ramp

primary
#B577EC
secondary
#DEF0CF
accent
#D80E6D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B577EC

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

Preview Lab → · Contrast checker → · Palette generator →

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