#B477EC#B477EC

#B477EC is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.0% C 0.175 H 306.4°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#B477EC
RGBrgb(180, 119, 236)
HSLhsl(271, 75%, 70%)
HSVhsv(271, 50%, 93%)
CMYKcmyk(23.7%, 49.6%, 0%, 7.5%)
CIE-LABlab(60.74, 45.65, -50.24)
CIE-LCHlch(60.74, 67.88, 312.26°)
OKLaboklab(68.05% 0.1037 -0.1408)
OKLCHoklch(68.05% 0.175 306.4)
XYZxyz(40.5564, 28.9534, 82.7926)
Luminance0.2895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477EC #AFEC77
analogous
#7A77EC #B477EC #EC77EA
triadic
#B477EC #ECB477 #77ECB4
tetradic
#B477EC #EC7A77 #AFEC77 #77EAEC
square
#B477EC #EC7A77 #AFEC77 #77EAEC
split-complementary
#B477EC #EAEC77 #77EC7A
monochromatic
#781DCC #9641E4 #B477EC #D2ADF4 #EFE2FB

Accessibility & contrast

On white

3.09
#B477EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#B477EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B477EC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B477EC#FFFFFF#000000##000000
##B477EC1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b477ec;
/* rgb */ color: rgb(180, 119, 236);
/* oklch */ color: oklch(68.0% 0.175 306.4);
Tailwind
colors: {
  custom: {
    50: '#cda0f2',
    500: '#b477ec',
    950: '#000000',
  },
}
SCSS
$custom: #b477ec;
$custom-light: #cda0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b477ec",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 271.282,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68047,
    "c": 0.17488,
    "h": 306.4
  },
  "luminance": 0.28953
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B477EC

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

Preview Lab → · Contrast checker → · Palette generator →

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