#B477E7#B477E7

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

Color values

HEX#B477E7
RGBrgb(180, 119, 231)
HSLhsl(273, 70%, 69%)
HSVhsv(273, 48%, 91%)
CMYKcmyk(22.1%, 48.5%, 0%, 9.4%)
CIE-LABlab(60.49, 44.51, -47.86)
CIE-LCHlch(60.49, 65.36, 312.93°)
OKLaboklab(67.78% 0.1032 -0.1339)
OKLCHoklch(67.78% 0.169 307.6)
XYZxyz(39.8402, 28.6669, 79.0203)
Luminance0.2867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477E7 #AAE777
analogous
#7C77E7 #B477E7 #E777E2
triadic
#B477E7 #E7B477 #77E7B4
tetradic
#B477E7 #E77C77 #AAE777 #77E2E7
square
#B477E7 #E77C77 #AAE777 #77E2E7
split-complementary
#B477E7 #E2E777 #77E77C
monochromatic
#7922C1 #9743DE #B477E7 #D1ABF0 #EDDFF9

Accessibility & contrast

On white

3.12
#B477E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#B477E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B477E7
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B477E7#FFFFFF#000000##000000
##B477E71.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#598FEB
Deuteranopia (green-blind)
#6A93E4
Tritanopia (blue-blind)
#AD8AA4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b477e7;
/* rgb */ color: rgb(180, 119, 231);
/* oklch */ color: oklch(67.8% 0.169 307.6);
Tailwind
colors: {
  custom: {
    50: '#cda0ef',
    500: '#b477e7',
    950: '#000000',
  },
}
SCSS
$custom: #b477e7;
$custom-light: #cda0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b477e7",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 231
  },
  "hsl": {
    "h": 272.679,
    "s": 70,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67776,
    "c": 0.16904,
    "h": 307.6
  },
  "luminance": 0.28666
}

Semantic roles & 50–950 ramp

primary
#B477E7
secondary
#DBEECC
accent
#D2146A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F16
muted
#827E84

Preview Lab

Preview with #B477E7

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

Preview Lab → · Contrast checker → · Palette generator →

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