#B477FB#B477FB

#B477FB is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.9% C 0.192 H 303.0°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#B477FB
RGBrgb(180, 119, 251)
HSLhsl(268, 94%, 73%)
HSVhsv(268, 53%, 98%)
CMYKcmyk(28.3%, 52.6%, 0%, 1.6%)
CIE-LABlab(61.53, 49.12, -57.27)
CIE-LCHlch(61.53, 75.45, 310.62°)
OKLaboklab(68.89% 0.1049 -0.1613)
OKLCHoklch(68.89% 0.192 303)
XYZxyz(42.8279, 29.8620, 94.7557)
Luminance0.2986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477FB #BEFB77
analogous
#777CFB #B477FB #F677FB
triadic
#B477FB #FBB477 #77FBB4
tetradic
#B477FB #FB777C #BEFB77 #77FBF6
square
#B477FB #FB777C #BEFB77 #77FBF6
split-complementary
#B477FB #FBF677 #7CFB77
monochromatic
#7307F1 #933CF9 #B477FB #D5B2FD #EFE1FE

Accessibility & contrast

On white

3.01
#B477FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#B477FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B477FB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B477FB#FFFFFF#000000##000000
##B477FB1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#5C94F8
Tritanopia (blue-blind)
#A790AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b477fb;
/* rgb */ color: rgb(180, 119, 251);
/* oklch */ color: oklch(68.9% 0.192 303.0);
Tailwind
colors: {
  custom: {
    50: '#cea0fd',
    500: '#b477fb',
    950: '#000000',
  },
}
SCSS
$custom: #b477fb;
$custom-light: #cea0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b477fb",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 267.727,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68893,
    "c": 0.19244,
    "h": 303
  },
  "luminance": 0.29862
}

Semantic roles & 50–950 ramp

primary
#B477FB
secondary
#E7F6D5
accent
#E6007B
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B477FB

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

Preview Lab → · Contrast checker → · Palette generator →

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