#B476F9#B476F9

#B476F9 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.6% C 0.192 H 303.6°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#B476F9
RGBrgb(180, 118, 249)
HSLhsl(268, 92%, 72%)
HSVhsv(268, 53%, 98%)
CMYKcmyk(27.7%, 52.6%, 0%, 2.4%)
CIE-LABlab(61.22, 49.19, -56.67)
CIE-LCHlch(61.22, 75.03, 310.96°)
OKLaboklab(68.63% 0.1061 -0.1596)
OKLCHoklch(68.63% 0.192 303.6)
XYZxyz(42.3959, 29.4998, 93.0647)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B476F9 #BBF976
analogous
#767AF9 #B476F9 #F576F9
triadic
#B476F9 #F9B476 #76F9B4
tetradic
#B476F9 #F9767A #BBF976 #76F9F5
square
#B476F9 #F9767A #BBF976 #76F9F5
split-complementary
#B476F9 #F9F576 #7AF976
monochromatic
#740AEA #943BF6 #B476F9 #D4B1FC #EFE2FE

Accessibility & contrast

On white

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

On black

6.90
#B476F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B476F9
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B476F9#FFFFFF#000000##000000
##B476F91.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4992FD
Deuteranopia (green-blind)
#5C94F6
Tritanopia (blue-blind)
#A88FAD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b476f9;
/* rgb */ color: rgb(180, 118, 249);
/* oklch */ color: oklch(68.6% 0.192 303.6);
Tailwind
colors: {
  custom: {
    50: '#ce9ffc',
    500: '#b476f9',
    950: '#000000',
  },
}
SCSS
$custom: #b476f9;
$custom-light: #ce9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#b476f9",
  "rgb": {
    "r": 180,
    "g": 118,
    "b": 249
  },
  "hsl": {
    "h": 268.397,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68626,
    "c": 0.1916,
    "h": 303.6
  },
  "luminance": 0.295
}

Semantic roles & 50–950 ramp

primary
#B476F9
secondary
#E6F6D5
accent
#E60079
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B476F9

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

Preview Lab → · Contrast checker → · Palette generator →

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