#B477FC#B477FC

#B477FC is a light, vivid violet. Relative luminance 0.299; OKLCH L 69.0% C 0.194 H 302.8°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#B477FC
RGBrgb(180, 119, 252)
HSLhsl(268, 96%, 73%)
HSVhsv(268, 53%, 99%)
CMYKcmyk(28.6%, 52.8%, 0%, 1.2%)
CIE-LABlab(61.59, 49.36, -57.73)
CIE-LCHlch(61.59, 75.95, 310.53°)
OKLaboklab(68.95% 0.105 -0.1627)
OKLCHoklch(68.95% 0.194 302.8)
XYZxyz(42.9860, 29.9252, 95.5881)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477FC #BFFC77
analogous
#777CFC #B477FC #F777FC
triadic
#B477FC #FCB477 #77FCB4
tetradic
#B477FC #FC777C #BFFC77 #77FCF7
square
#B477FC #FC777C #BFFC77 #77FCF7
split-complementary
#B477FC #FCF777 #7CFC77
monochromatic
#7205F3 #933BFB #B477FC #D5B3FD #EEE1FE

Accessibility & contrast

On white

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

On black

6.99
#B477FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B477FC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B477FC#FFFFFF#000000##000000
##B477FC1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b477fc;
/* rgb */ color: rgb(180, 119, 252);
/* oklch */ color: oklch(69.0% 0.194 302.8);
Tailwind
colors: {
  custom: {
    50: '#cea0fe',
    500: '#b477fc',
    950: '#000000',
  },
}
SCSS
$custom: #b477fc;
$custom-light: #cea0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b477fc",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 267.519,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68952,
    "c": 0.19361,
    "h": 302.8
  },
  "luminance": 0.29925
}

Semantic roles & 50–950 ramp

primary
#B477FC
secondary
#E7F7D4
accent
#E6007C
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B477FC

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

Preview Lab → · Contrast checker → · Palette generator →

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