#B476EF#B476EF

#B476EF is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.1% C 0.180 H 305.8°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B476EF
RGBrgb(180, 118, 239)
HSLhsl(271, 79%, 70%)
HSVhsv(271, 51%, 94%)
CMYKcmyk(24.7%, 50.6%, 0%, 6.3%)
CIE-LABlab(60.69, 46.87, -51.99)
CIE-LCHlch(60.69, 69.99, 312.04°)
OKLaboklab(68.06% 0.1053 -0.1459)
OKLCHoklch(68.06% 0.18 305.8)
XYZxyz(40.8776, 28.8925, 85.0679)
Luminance0.2889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B476EF #B1EF76
analogous
#7876EF #B476EF #EF76ED
triadic
#B476EF #EFB476 #76EFB4
tetradic
#B476EF #EF7876 #B1EF76 #76EDEF
square
#B476EF #EF7876 #B1EF76 #76EDEF
split-complementary
#B476EF #EDEF76 #76EF78
monochromatic
#7819D2 #963FE9 #B476EF #D2ADF5 #F0E4FC

Accessibility & contrast

On white

3.10
#B476EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#B476EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B476EF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B476EF#FFFFFF#000000##000000
##B476EF1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F3
Deuteranopia (green-blind)
#6493EC
Tritanopia (blue-blind)
#AB8CA8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b476ef;
/* rgb */ color: rgb(180, 118, 239);
/* oklch */ color: oklch(68.1% 0.180 305.8);
Tailwind
colors: {
  custom: {
    50: '#cd9ff5',
    500: '#b476ef',
    950: '#000000',
  },
}
SCSS
$custom: #b476ef;
$custom-light: #cd9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#b476ef",
  "rgb": {
    "r": 180,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 270.744,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.68058,
    "c": 0.17995,
    "h": 305.8
  },
  "luminance": 0.28892
}

Semantic roles & 50–950 ramp

primary
#B476EF
secondary
#E0F1CF
accent
#DB0A70
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140F17
muted
#827E85

Preview Lab

Preview with #B476EF

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

Preview Lab → · Contrast checker → · Palette generator →

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