#B477FE#B477FE

#B477FE is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.1% C 0.196 H 302.4°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#B477FE
RGBrgb(180, 119, 254)
HSLhsl(267, 99%, 73%)
HSVhsv(267, 53%, 100%)
CMYKcmyk(29.1%, 53.1%, 0%, 0.4%)
CIE-LABlab(61.70, 49.83, -58.65)
CIE-LCHlch(61.70, 76.96, 310.35°)
OKLaboklab(69.07% 0.1051 -0.1654)
OKLCHoklch(69.07% 0.196 302.4)
XYZxyz(43.3045, 30.0527, 97.2661)
Luminance0.3005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477FE #C1FE77
analogous
#777DFE #B477FE #F777FE
triadic
#B477FE #FEB477 #77FEB4
tetradic
#B477FE #FE777D #C1FE77 #77FEF7
square
#B477FE #FE777D #C1FE77 #77FEF7
split-complementary
#B477FE #FEF777 #7DFE77
monochromatic
#7102F9 #923AFE #B477FE #D6B4FE #EEE1FF

Accessibility & contrast

On white

3.00
#B477FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#B477FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B477FE
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B477FE#FFFFFF#000000##000000
##B477FE1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#5995FB
Tritanopia (blue-blind)
#A691AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b477fe;
/* rgb */ color: rgb(180, 119, 254);
/* oklch */ color: oklch(69.1% 0.196 302.4);
Tailwind
colors: {
  custom: {
    50: '#cea0ff',
    500: '#b477fe',
    950: '#000000',
  },
}
SCSS
$custom: #b477fe;
$custom-light: #cea0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b477fe",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 267.111,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69068,
    "c": 0.19594,
    "h": 302.4
  },
  "luminance": 0.30053
}

Semantic roles & 50–950 ramp

primary
#B477FE
secondary
#E7F7D4
accent
#E6007E
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B477FE

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

Preview Lab → · Contrast checker → · Palette generator →

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