#B477EE#B477EE

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

Color values

HEX#B477EE
RGBrgb(180, 119, 238)
HSLhsl(271, 78%, 70%)
HSVhsv(271, 50%, 93%)
CMYKcmyk(24.4%, 50%, 0%, 6.7%)
CIE-LABlab(60.84, 46.10, -51.18)
CIE-LCHlch(60.84, 68.88, 312.01°)
OKLaboklab(68.16% 0.1039 -0.1435)
OKLCHoklch(68.16% 0.177 305.9)
XYZxyz(40.8486, 29.0703, 84.3315)
Luminance0.2907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477EE #B1EE77
analogous
#7877EE #B477EE #EE77ED
triadic
#B477EE #EEB477 #77EEB4
tetradic
#B477EE #EE7877 #B1EE77 #77EDEE
square
#B477EE #EE7877 #B1EE77 #77EDEE
split-complementary
#B477EE #EDEE77 #77EE78
monochromatic
#781AD1 #9641E7 #B477EE #D2ADF5 #F0E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B477EE#FFFFFF#000000##000000
##B477EE1.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)
#5491F2
Deuteranopia (green-blind)
#6693EB
Tritanopia (blue-blind)
#AB8CA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b477ee;
/* rgb */ color: rgb(180, 119, 238);
/* oklch */ color: oklch(68.2% 0.177 305.9);
Tailwind
colors: {
  custom: {
    50: '#cda0f4',
    500: '#b477ee',
    950: '#000000',
  },
}
SCSS
$custom: #b477ee;
$custom-light: #cda0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b477ee",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 270.756,
    "s": 77.778,
    "l": 70
  },
  "oklch": {
    "l": 0.68157,
    "c": 0.17722,
    "h": 305.9
  },
  "luminance": 0.2907
}

Semantic roles & 50–950 ramp

primary
#B477EE
secondary
#E0F1D0
accent
#DA0B70
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B477EE

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

Preview Lab → · Contrast checker → · Palette generator →

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