#B477F3#B477F3

#B477F3 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.4% C 0.183 H 304.8°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#B477F3
RGBrgb(180, 119, 243)
HSLhsl(270, 84%, 71%)
HSVhsv(270, 51%, 95%)
CMYKcmyk(25.9%, 51%, 0%, 4.7%)
CIE-LABlab(61.11, 47.26, -53.54)
CIE-LCHlch(61.11, 71.41, 311.43°)
OKLaboklab(68.44% 0.1044 -0.1504)
OKLCHoklch(68.44% 0.183 304.8)
XYZxyz(41.5934, 29.3682, 88.2541)
Luminance0.2937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477F3 #B6F377
analogous
#7778F3 #B477F3 #F277F3
triadic
#B477F3 #F3B477 #77F3B4
tetradic
#B477F3 #F37778 #B6F377 #77F3F2
square
#B477F3 #F37778 #B6F377 #77F3F2
split-complementary
#B477F3 #F3F277 #78F377
monochromatic
#7613DC #953FEE #B477F3 #D3AFF8 #EFE3FD

Accessibility & contrast

On white

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

On black

6.87
#B477F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B477F3
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B477F3#FFFFFF#000000##000000
##B477F31.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5092F7
Deuteranopia (green-blind)
#6294F0
Tritanopia (blue-blind)
#A98DAA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b477f3;
/* rgb */ color: rgb(180, 119, 243);
/* oklch */ color: oklch(68.4% 0.183 304.8);
Tailwind
colors: {
  custom: {
    50: '#cda0f7',
    500: '#b477f3',
    950: '#000000',
  },
}
SCSS
$custom: #b477f3;
$custom-light: #cda0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b477f3",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 243
  },
  "hsl": {
    "h": 269.516,
    "s": 83.784,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68436,
    "c": 0.18308,
    "h": 304.8
  },
  "luminance": 0.29368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B477F3

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

Preview Lab → · Contrast checker → · Palette generator →

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