#B476F5#B476F5

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

Color values

HEX#B476F5
RGBrgb(180, 118, 245)
HSLhsl(269, 86%, 71%)
HSVhsv(269, 52%, 96%)
CMYKcmyk(26.5%, 51.8%, 0%, 3.9%)
CIE-LABlab(61.00, 48.25, -54.80)
CIE-LCHlch(61.00, 73.02, 311.36°)
OKLaboklab(68.4% 0.1058 -0.1541)
OKLCHoklch(68.4% 0.187 304.5)
XYZxyz(41.7787, 29.2529, 89.8139)
Luminance0.2925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B476F5 #B7F576
analogous
#7677F5 #B476F5 #F376F5
triadic
#B476F5 #F5B476 #76F5B4
tetradic
#B476F5 #F57677 #B7F576 #76F5F3
square
#B476F5 #F57677 #B7F576 #76F5F3
split-complementary
#B476F5 #F5F376 #77F576
monochromatic
#7610E0 #953DF1 #B476F5 #D3AFF9 #EFE2FD

Accessibility & contrast

On white

3.07
#B476F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#B476F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B476F5
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B476F5#FFFFFF#000000##000000
##B476F51.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C92F9
Deuteranopia (green-blind)
#5F93F2
Tritanopia (blue-blind)
#A98DAB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b476f5;
/* rgb */ color: rgb(180, 118, 245);
/* oklch */ color: oklch(68.4% 0.187 304.5);
Tailwind
colors: {
  custom: {
    50: '#cd9ff9',
    500: '#b476f5',
    950: '#000000',
  },
}
SCSS
$custom: #b476f5;
$custom-light: #cd9ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#b476f5",
  "rgb": {
    "r": 180,
    "g": 118,
    "b": 245
  },
  "hsl": {
    "h": 269.291,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68396,
    "c": 0.18694,
    "h": 304.5
  },
  "luminance": 0.29253
}

Semantic roles & 50–950 ramp

primary
#B476F5
secondary
#E4F4D3
accent
#E30375
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B476F5

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

Preview Lab → · Contrast checker → · Palette generator →

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