#B477F7#B477F7

#B477F7 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.7% C 0.188 H 303.9°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#B477F7
RGBrgb(180, 119, 247)
HSLhsl(269, 89%, 72%)
HSVhsv(269, 52%, 97%)
CMYKcmyk(27.1%, 51.8%, 0%, 3.1%)
CIE-LABlab(61.32, 48.18, -55.41)
CIE-LCHlch(61.32, 73.43, 311.01°)
OKLaboklab(68.66% 0.1047 -0.1559)
OKLCHoklch(68.66% 0.188 303.9)
XYZxyz(42.2040, 29.6125, 91.4700)
Luminance0.2961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477F7 #BAF777
analogous
#777AF7 #B477F7 #F477F7
triadic
#B477F7 #F7B477 #77F7B4
tetradic
#B477F7 #F7777A #BAF777 #77F7F4
square
#B477F7 #F7777A #BAF777 #77F7F4
split-complementary
#B477F7 #F7F477 #7AF777
monochromatic
#750EE6 #943DF4 #B477F7 #D4B1FA #EFE2FD

Accessibility & contrast

On white

3.03
#B477F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#B477F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B477F7
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B477F7#FFFFFF#000000##000000
##B477F71.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C92FB
Deuteranopia (green-blind)
#5F94F4
Tritanopia (blue-blind)
#A88FAC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b477f7;
/* rgb */ color: rgb(180, 119, 247);
/* oklch */ color: oklch(68.7% 0.188 303.9);
Tailwind
colors: {
  custom: {
    50: '#cda0fa',
    500: '#b477f7',
    950: '#000000',
  },
}
SCSS
$custom: #b477f7;
$custom-light: #cda0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b477f7",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 268.594,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68663,
    "c": 0.18776,
    "h": 303.9
  },
  "luminance": 0.29612
}

Semantic roles & 50–950 ramp

primary
#B477F7
secondary
#E6F5D5
accent
#E60078
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B477F7

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

Preview Lab → · Contrast checker → · Palette generator →

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