#B477EF#B477EF

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

Color values

HEX#B477EF
RGBrgb(180, 119, 239)
HSLhsl(271, 79%, 70%)
HSVhsv(271, 50%, 94%)
CMYKcmyk(24.7%, 50.2%, 0%, 6.3%)
CIE-LABlab(60.90, 46.33, -51.65)
CIE-LCHlch(60.90, 69.39, 311.89°)
OKLaboklab(68.21% 0.104 -0.1449)
OKLCHoklch(68.21% 0.178 305.7)
XYZxyz(40.9959, 29.1292, 85.1074)
Luminance0.2913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477EF #B2EF77
analogous
#7877EF #B477EF #EF77EE
triadic
#B477EF #EFB477 #77EFB4
tetradic
#B477EF #EF7877 #B2EF77 #77EEEF
square
#B477EF #EF7877 #B2EF77 #77EEEF
split-complementary
#B477EF #EEEF77 #77EF78
monochromatic
#7719D3 #9640E9 #B477EF #D2AEF5 #F0E4FC

Accessibility & contrast

On white

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

On black

6.83
#B477EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B477EF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B477EF#FFFFFF#000000##000000
##B477EF1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F3
Deuteranopia (green-blind)
#6593EC
Tritanopia (blue-blind)
#AA8CA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b477ef;
/* rgb */ color: rgb(180, 119, 239);
/* oklch */ color: oklch(68.2% 0.178 305.7);
Tailwind
colors: {
  custom: {
    50: '#cda0f5',
    500: '#b477ef',
    950: '#000000',
  },
}
SCSS
$custom: #b477ef;
$custom-light: #cda0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b477ef",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 270.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68213,
    "c": 0.1784,
    "h": 305.7
  },
  "luminance": 0.29129
}

Semantic roles & 50–950 ramp

primary
#B477EF
secondary
#E1F2D0
accent
#DB0A71
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140F17
muted
#827E85

Preview Lab

Preview with #B477EF

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

Preview Lab → · Contrast checker → · Palette generator →

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