#B477ED#B477ED

#B477ED is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.1% C 0.176 H 306.1°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#B477ED
RGBrgb(180, 119, 237)
HSLhsl(271, 77%, 70%)
HSVhsv(271, 50%, 93%)
CMYKcmyk(24.1%, 49.8%, 0%, 7.1%)
CIE-LABlab(60.79, 45.87, -50.71)
CIE-LCHlch(60.79, 68.38, 312.13°)
OKLaboklab(68.1% 0.1038 -0.1422)
OKLCHoklch(68.1% 0.176 306.1)
XYZxyz(40.7021, 29.0117, 83.5599)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477ED #B0ED77
analogous
#7977ED #B477ED #ED77EB
triadic
#B477ED #EDB477 #77EDB4
tetradic
#B477ED #ED7977 #B0ED77 #77EBED
square
#B477ED #ED7977 #B0ED77 #77EBED
split-complementary
#B477ED #EBED77 #77ED79
monochromatic
#781BCE #9641E6 #B477ED #D2ADF4 #F0E3FB

Accessibility & contrast

On white

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

On black

6.80
#B477ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B477ED
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B477ED#FFFFFF#000000##000000
##B477ED1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F1
Deuteranopia (green-blind)
#6693EA
Tritanopia (blue-blind)
#AB8CA7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b477ed;
/* rgb */ color: rgb(180, 119, 237);
/* oklch */ color: oklch(68.1% 0.176 306.1);
Tailwind
colors: {
  custom: {
    50: '#cda0f3',
    500: '#b477ed',
    950: '#000000',
  },
}
SCSS
$custom: #b477ed;
$custom-light: #cda0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b477ed",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 237
  },
  "hsl": {
    "h": 271.017,
    "s": 76.623,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68102,
    "c": 0.17605,
    "h": 306.1
  },
  "luminance": 0.29011
}

Semantic roles & 50–950 ramp

primary
#B477ED
secondary
#DFF1CF
accent
#D90D6F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B477ED

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

Preview Lab → · Contrast checker → · Palette generator →

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