#B477F2#B477F2

#B477F2 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.4% C 0.182 H 305.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#B477F2
RGBrgb(180, 119, 242)
HSLhsl(270, 83%, 71%)
HSVhsv(270, 51%, 95%)
CMYKcmyk(25.6%, 50.8%, 0%, 5.1%)
CIE-LABlab(61.05, 47.02, -53.07)
CIE-LCHlch(61.05, 70.90, 311.55°)
OKLaboklab(68.38% 0.1043 -0.149)
OKLCHoklch(68.38% 0.182 305)
XYZxyz(41.4428, 29.3080, 87.4609)
Luminance0.2931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477F2 #B5F277
analogous
#7777F2 #B477F2 #F177F2
triadic
#B477F2 #F2B477 #77F2B4
tetradic
#B477F2 #F27777 #B5F277 #77F2F1
square
#B477F2 #F27777 #B5F277 #77F2F1
split-complementary
#B477F2 #F2F177 #77F277
monochromatic
#7615DA #953FED #B477F2 #D3AFF7 #F0E3FC

Accessibility & contrast

On white

3.06
#B477F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#B477F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B477F2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B477F2#FFFFFF#000000##000000
##B477F21.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#6394EF
Tritanopia (blue-blind)
#AA8DAA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b477f2;
/* rgb */ color: rgb(180, 119, 242);
/* oklch */ color: oklch(68.4% 0.182 305.0);
Tailwind
colors: {
  custom: {
    50: '#cda0f7',
    500: '#b477f2',
    950: '#000000',
  },
}
SCSS
$custom: #b477f2;
$custom-light: #cda0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b477f2",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 269.756,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6838,
    "c": 0.18191,
    "h": 305
  },
  "luminance": 0.29308
}

Semantic roles & 50–950 ramp

primary
#B477F2
secondary
#E3F3D2
accent
#DF0774
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B477F2

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

Preview Lab → · Contrast checker → · Palette generator →

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