#B477F6#B477F6

#B477F6 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.6% C 0.187 H 304.1°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#B477F6
RGBrgb(180, 119, 246)
HSLhsl(269, 88%, 72%)
HSVhsv(269, 52%, 96%)
CMYKcmyk(26.8%, 51.6%, 0%, 3.5%)
CIE-LABlab(61.26, 47.95, -54.94)
CIE-LCHlch(61.26, 72.92, 311.11°)
OKLaboklab(68.61% 0.1046 -0.1545)
OKLCHoklch(68.61% 0.187 304.1)
XYZxyz(42.0501, 29.5509, 90.6595)
Luminance0.2955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477F6 #B9F677
analogous
#777AF6 #B477F6 #F477F6
triadic
#B477F6 #F6B477 #77F6B4
tetradic
#B477F6 #F6777A #B9F677 #77F6F4
square
#B477F6 #F6777A #B9F677 #77F6F4
split-complementary
#B477F6 #F6F477 #7AF677
monochromatic
#750FE4 #943EF2 #B477F6 #D4B0FA #EFE2FD

Accessibility & contrast

On white

3.04
#B477F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#B477F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B477F6
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B477F6#FFFFFF#000000##000000
##B477F61.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D92FA
Deuteranopia (green-blind)
#6094F3
Tritanopia (blue-blind)
#A88EAB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b477f6;
/* rgb */ color: rgb(180, 119, 246);
/* oklch */ color: oklch(68.6% 0.187 304.1);
Tailwind
colors: {
  custom: {
    50: '#cda0fa',
    500: '#b477f6',
    950: '#000000',
  },
}
SCSS
$custom: #b477f6;
$custom-light: #cda0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b477f6",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 246
  },
  "hsl": {
    "h": 268.819,
    "s": 87.586,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68606,
    "c": 0.1866,
    "h": 304.1
  },
  "luminance": 0.29551
}

Semantic roles & 50–950 ramp

primary
#B477F6
secondary
#E5F5D4
accent
#E40177
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B477F6

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

Preview Lab → · Contrast checker → · Palette generator →

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