#B477EB#B477EB

#B477EB is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.0% C 0.174 H 306.6°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B477EB
RGBrgb(180, 119, 235)
HSLhsl(272, 74%, 69%)
HSVhsv(272, 49%, 92%)
CMYKcmyk(23.4%, 49.4%, 0%, 7.8%)
CIE-LABlab(60.69, 45.42, -49.76)
CIE-LCHlch(60.69, 67.37, 312.39°)
OKLaboklab(67.99% 0.1036 -0.1394)
OKLCHoklch(67.99% 0.174 306.6)
XYZxyz(40.4116, 28.8955, 82.0296)
Luminance0.2889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477EB #AEEB77
analogous
#7A77EB #B477EB #EB77E8
triadic
#B477EB #EBB477 #77EBB4
tetradic
#B477EB #EB7A77 #AEEB77 #77E8EB
square
#B477EB #EB7A77 #AEEB77 #77E8EB
split-complementary
#B477EB #E8EB77 #77EB7A
monochromatic
#781ECA #9742E3 #B477EB #D1ACF3 #EFE2FB

Accessibility & contrast

On white

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

On black

6.78
#B477EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B477EB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B477EB#FFFFFF#000000##000000
##B477EB1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#6893E8
Tritanopia (blue-blind)
#AC8BA6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b477eb;
/* rgb */ color: rgb(180, 119, 235);
/* oklch */ color: oklch(68.0% 0.174 306.6);
Tailwind
colors: {
  custom: {
    50: '#cda0f2',
    500: '#b477eb',
    950: '#000000',
  },
}
SCSS
$custom: #b477eb;
$custom-light: #cda0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b477eb",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 271.552,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67993,
    "c": 0.17371,
    "h": 306.6
  },
  "luminance": 0.28895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B477EB

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

Preview Lab → · Contrast checker → · Palette generator →

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