#B477FA#B477FA

#B477FA is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.8% C 0.191 H 303.2°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#B477FA
RGBrgb(180, 119, 250)
HSLhsl(268, 93%, 72%)
HSVhsv(268, 52%, 98%)
CMYKcmyk(28%, 52.4%, 0%, 2%)
CIE-LABlab(61.48, 48.89, -56.80)
CIE-LCHlch(61.48, 74.94, 310.72°)
OKLaboklab(68.84% 0.1049 -0.16)
OKLCHoklch(68.84% 0.191 303.2)
XYZxyz(42.6707, 29.7991, 93.9278)
Luminance0.2980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477FA #BDFA77
analogous
#777BFA #B477FA #F677FA
triadic
#B477FA #FAB477 #77FAB4
tetradic
#B477FA #FA777B #BDFA77 #77FAF6
square
#B477FA #FA777B #BDFA77 #77FAF6
split-complementary
#B477FA #FAF677 #7BFA77
monochromatic
#7309EE #933CF8 #B477FA #D5B2FC #EFE1FE

Accessibility & contrast

On white

3.02
#B477FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#B477FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B477FA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B477FA#FFFFFF#000000##000000
##B477FA1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A93FE
Deuteranopia (green-blind)
#5D94F7
Tritanopia (blue-blind)
#A790AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b477fa;
/* rgb */ color: rgb(180, 119, 250);
/* oklch */ color: oklch(68.8% 0.191 303.2);
Tailwind
colors: {
  custom: {
    50: '#cea0fc',
    500: '#b477fa',
    950: '#000000',
  },
}
SCSS
$custom: #b477fa;
$custom-light: #cea0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b477fa",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 267.939,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68836,
    "c": 0.19127,
    "h": 303.2
  },
  "luminance": 0.29799
}

Semantic roles & 50–950 ramp

primary
#B477FA
secondary
#E7F6D5
accent
#E6007B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F18
muted
#827E86

Preview Lab

Preview with #B477FA

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

Preview Lab → · Contrast checker → · Palette generator →

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