#B476FB#B476FB

#B476FB is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.7% C 0.194 H 303.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#B476FB
RGBrgb(180, 118, 251)
HSLhsl(268, 94%, 72%)
HSVhsv(268, 53%, 98%)
CMYKcmyk(28.3%, 53%, 0%, 1.6%)
CIE-LABlab(61.33, 49.65, -57.59)
CIE-LCHlch(61.33, 76.04, 310.77°)
OKLaboklab(68.74% 0.1062 -0.1623)
OKLCHoklch(68.74% 0.194 303.2)
XYZxyz(42.7095, 29.6252, 94.7163)
Luminance0.2963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B476FB #BDFB76
analogous
#767BFB #B476FB #F776FB
triadic
#B476FB #FBB476 #76FBB4
tetradic
#B476FB #FB767B #BDFB76 #76FBF7
square
#B476FB #FB767B #BDFB76 #76FBF7
split-complementary
#B476FB #FBF776 #7BFB76
monochromatic
#7307F0 #933BF9 #B476FB #D5B1FD #EFE1FE

Accessibility & contrast

On white

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

On black

6.93
#B476FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B476FB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B476FB#FFFFFF#000000##000000
##B476FB1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b476fb;
/* rgb */ color: rgb(180, 118, 251);
/* oklch */ color: oklch(68.7% 0.194 303.2);
Tailwind
colors: {
  custom: {
    50: '#ce9ffd',
    500: '#b476fb',
    950: '#000000',
  },
}
SCSS
$custom: #b476fb;
$custom-light: #ce9ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#b476fb",
  "rgb": {
    "r": 180,
    "g": 118,
    "b": 251
  },
  "hsl": {
    "h": 267.97,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68742,
    "c": 0.19393,
    "h": 303.2
  },
  "luminance": 0.29625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B476FB

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

Preview Lab → · Contrast checker → · Palette generator →

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