#B476F2#B476F2

#B476F2 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.2% C 0.183 H 305.1°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#B476F2
RGBrgb(180, 118, 242)
HSLhsl(270, 83%, 71%)
HSVhsv(270, 51%, 95%)
CMYKcmyk(25.6%, 51.2%, 0%, 5.1%)
CIE-LABlab(60.84, 47.56, -53.40)
CIE-LCHlch(60.84, 71.51, 311.69°)
OKLaboklab(68.23% 0.1056 -0.15)
OKLCHoklch(68.23% 0.183 305.1)
XYZxyz(41.3244, 29.0712, 87.4215)
Luminance0.2907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B476F2 #B4F276
analogous
#7676F2 #B476F2 #F276F2
triadic
#B476F2 #F2B476 #76F2B4
tetradic
#B476F2 #F27676 #B4F276 #76F2F2
square
#B476F2 #F27676 #B4F276 #76F2F2
split-complementary
#B476F2 #F2F276 #76F276
monochromatic
#7715D9 #953EED #B476F2 #D3AEF7 #F0E3FC

Accessibility & contrast

On white

3.08
#B476F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#B476F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B476F2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B476F2#FFFFFF#000000##000000
##B476F21.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F91F6
Deuteranopia (green-blind)
#6293EF
Tritanopia (blue-blind)
#AA8CA9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b476f2;
/* rgb */ color: rgb(180, 118, 242);
/* oklch */ color: oklch(68.2% 0.183 305.1);
Tailwind
colors: {
  custom: {
    50: '#cd9ff7',
    500: '#b476f2',
    950: '#000000',
  },
}
SCSS
$custom: #b476f2;
$custom-light: #cd9ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b476f2",
  "rgb": {
    "r": 180,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 270,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68226,
    "c": 0.18345,
    "h": 305.1
  },
  "luminance": 0.29071
}

Semantic roles & 50–950 ramp

primary
#B476F2
secondary
#E2F3D1
accent
#DF0673
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B476F2

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

Preview Lab → · Contrast checker → · Palette generator →

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