#B476F6#B476F6

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

Color values

HEX#B476F6
RGBrgb(180, 118, 246)
HSLhsl(269, 88%, 71%)
HSVhsv(269, 52%, 96%)
CMYKcmyk(26.8%, 52%, 0%, 3.5%)
CIE-LABlab(61.06, 48.49, -55.27)
CIE-LCHlch(61.06, 73.52, 311.26°)
OKLaboklab(68.45% 0.1059 -0.1555)
OKLCHoklch(68.45% 0.188 304.3)
XYZxyz(41.9318, 29.3141, 90.6201)
Luminance0.2931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B476F6 #B8F676
analogous
#7678F6 #B476F6 #F476F6
triadic
#B476F6 #F6B476 #76F6B4
tetradic
#B476F6 #F67678 #B8F676 #76F6F4
square
#B476F6 #F67678 #B8F676 #76F6F4
split-complementary
#B476F6 #F6F476 #78F676
monochromatic
#750FE3 #953DF2 #B476F6 #D3AFFA #EFE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B476F6#FFFFFF#000000##000000
##B476F61.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)
#4C92FA
Deuteranopia (green-blind)
#5F93F3
Tritanopia (blue-blind)
#A98EAB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b476f6;
/* rgb */ color: rgb(180, 118, 246);
/* oklch */ color: oklch(68.5% 0.188 304.3);
Tailwind
colors: {
  custom: {
    50: '#cd9ffa',
    500: '#b476f6',
    950: '#000000',
  },
}
SCSS
$custom: #b476f6;
$custom-light: #cd9ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#b476f6",
  "rgb": {
    "r": 180,
    "g": 118,
    "b": 246
  },
  "hsl": {
    "h": 269.063,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68453,
    "c": 0.18811,
    "h": 304.3
  },
  "luminance": 0.29314
}

Semantic roles & 50–950 ramp

primary
#B476F6
secondary
#E4F5D3
accent
#E40176
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B476F6

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

Preview Lab → · Contrast checker → · Palette generator →

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