#B477E8#B477E8

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

Color values

HEX#B477E8
RGBrgb(180, 119, 232)
HSLhsl(272, 71%, 69%)
HSVhsv(272, 49%, 91%)
CMYKcmyk(22.4%, 48.7%, 0%, 9%)
CIE-LABlab(60.54, 44.74, -48.33)
CIE-LCHlch(60.54, 65.86, 312.79°)
OKLaboklab(67.83% 0.1033 -0.1352)
OKLCHoklch(67.83% 0.17 307.4)
XYZxyz(39.9818, 28.7236, 79.7662)
Luminance0.2872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477E8 #ABE877
analogous
#7C77E8 #B477E8 #E877E4
triadic
#B477E8 #E8B477 #77E8B4
tetradic
#B477E8 #E87C77 #ABE877 #77E4E8
square
#B477E8 #E87C77 #ABE877 #77E4E8
split-complementary
#B477E8 #E4E877 #77E87C
monochromatic
#7921C4 #9743DF #B477E8 #D1ABF1 #EEE0FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B477E8#FFFFFF#000000##000000
##B477E81.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)
#5890EC
Deuteranopia (green-blind)
#6993E5
Tritanopia (blue-blind)
#AC8AA5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b477e8;
/* rgb */ color: rgb(180, 119, 232);
/* oklch */ color: oklch(67.8% 0.170 307.4);
Tailwind
colors: {
  custom: {
    50: '#cda0f0',
    500: '#b477e8',
    950: '#000000',
  },
}
SCSS
$custom: #b477e8;
$custom-light: #cda0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b477e8",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 232
  },
  "hsl": {
    "h": 272.389,
    "s": 71.069,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6783,
    "c": 0.1702,
    "h": 307.4
  },
  "luminance": 0.28723
}

Semantic roles & 50–950 ramp

primary
#B477E8
secondary
#DCEECD
accent
#D3126B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F16
muted
#827E84

Preview Lab

Preview with #B477E8

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

Preview Lab → · Contrast checker → · Palette generator →

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