#B477F9#B477F9

#B477F9 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.8% C 0.190 H 303.4°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#B477F9
RGBrgb(180, 119, 249)
HSLhsl(268, 92%, 72%)
HSVhsv(268, 52%, 98%)
CMYKcmyk(27.7%, 52.2%, 0%, 2.4%)
CIE-LABlab(61.43, 48.65, -56.34)
CIE-LCHlch(61.43, 74.44, 310.81°)
OKLaboklab(68.78% 0.1048 -0.1586)
OKLCHoklch(68.78% 0.19 303.4)
XYZxyz(42.5143, 29.7366, 93.1041)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477F9 #BCF977
analogous
#777BF9 #B477F9 #F577F9
triadic
#B477F9 #F9B477 #77F9B4
tetradic
#B477F9 #F9777B #BCF977 #77F9F5
square
#B477F9 #F9777B #BCF977 #77F9F5
split-complementary
#B477F9 #F9F577 #7BF977
monochromatic
#740AEB #943CF6 #B477F9 #D4B2FC #EFE2FE

Accessibility & contrast

On white

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

On black

6.95
#B477F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B477F9
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B477F9#FFFFFF#000000##000000
##B477F91.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FD
Deuteranopia (green-blind)
#5D94F6
Tritanopia (blue-blind)
#A88FAD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b477f9;
/* rgb */ color: rgb(180, 119, 249);
/* oklch */ color: oklch(68.8% 0.190 303.4);
Tailwind
colors: {
  custom: {
    50: '#cea0fc',
    500: '#b477f9',
    950: '#000000',
  },
}
SCSS
$custom: #b477f9;
$custom-light: #cea0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b477f9",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 249
  },
  "hsl": {
    "h": 268.154,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68778,
    "c": 0.1901,
    "h": 303.4
  },
  "luminance": 0.29737
}

Semantic roles & 50–950 ramp

primary
#B477F9
secondary
#E7F6D5
accent
#E6007A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B477F9

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

Preview Lab → · Contrast checker → · Palette generator →

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