#B476FC#B476FC

#B476FC is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.8% C 0.195 H 303.0°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#B476FC
RGBrgb(180, 118, 252)
HSLhsl(268, 96%, 73%)
HSVhsv(268, 53%, 99%)
CMYKcmyk(28.6%, 53.2%, 0%, 1.2%)
CIE-LABlab(61.38, 49.89, -58.06)
CIE-LCHlch(61.38, 76.55, 310.67°)
OKLaboklab(68.8% 0.1062 -0.1636)
OKLCHoklch(68.8% 0.195 303)
XYZxyz(42.8676, 29.6885, 95.5487)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B476FC #BEFC76
analogous
#767BFC #B476FC #F776FC
triadic
#B476FC #FCB476 #76FCB4
tetradic
#B476FC #FC767B #BEFC76 #76FCF7
square
#B476FC #FC767B #BEFC76 #76FCF7
split-complementary
#B476FC #FCF776 #7BFC76
monochromatic
#7305F2 #933AFB #B476FC #D5B2FD #EFE1FE

Accessibility & contrast

On white

3.03
#B476FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#B476FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B476FC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B476FC#FFFFFF#000000##000000
##B476FC1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#5A94F9
Tritanopia (blue-blind)
#A78FAE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b476fc;
/* rgb */ color: rgb(180, 118, 252);
/* oklch */ color: oklch(68.8% 0.195 303.0);
Tailwind
colors: {
  custom: {
    50: '#ce9ffe',
    500: '#b476fc',
    950: '#000000',
  },
}
SCSS
$custom: #b476fc;
$custom-light: #ce9ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#b476fc",
  "rgb": {
    "r": 180,
    "g": 118,
    "b": 252
  },
  "hsl": {
    "h": 267.761,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.688,
    "c": 0.19509,
    "h": 303
  },
  "luminance": 0.29688
}

Semantic roles & 50–950 ramp

primary
#B476FC
secondary
#E7F7D4
accent
#E6007B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F18
muted
#837E86

Preview Lab

Preview with #B476FC

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

Preview Lab → · Contrast checker → · Palette generator →

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