#B474E9#B474E9

#B474E9 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.4% C 0.176 H 307.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#B474E9
RGBrgb(180, 116, 233)
HSLhsl(273, 73%, 68%)
HSVhsv(273, 50%, 91%)
CMYKcmyk(22.7%, 50.2%, 0%, 8.6%)
CIE-LABlab(59.96, 46.57, -49.81)
CIE-LCHlch(59.96, 68.19, 313.08°)
OKLaboklab(67.42% 0.1074 -0.1395)
OKLCHoklch(67.42% 0.176 307.6)
XYZxyz(39.7728, 28.0777, 80.3993)
Luminance0.2808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474E9 #A9E974
analogous
#7974E9 #B474E9 #E974E3
triadic
#B474E9 #E9B474 #74E9B4
tetradic
#B474E9 #E97974 #A9E974 #74E3E9
square
#B474E9 #E97974 #A9E974 #74E3E9
split-complementary
#B474E9 #E3E974 #74E979
monochromatic
#791FC4 #973FE1 #B474E9 #D1A9F1 #EDDEFA

Accessibility & contrast

On white

3.17
#B474E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#B474E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474E9
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474E9#FFFFFF#000000##000000
##B474E91.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#538EED
Deuteranopia (green-blind)
#6691E6
Tritanopia (blue-blind)
#AC88A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b474e9;
/* rgb */ color: rgb(180, 116, 233);
/* oklch */ color: oklch(67.4% 0.176 307.6);
Tailwind
colors: {
  custom: {
    50: '#cd9ef0',
    500: '#b474e9',
    950: '#000000',
  },
}
SCSS
$custom: #b474e9;
$custom-light: #cd9ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#b474e9",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 233
  },
  "hsl": {
    "h": 272.821,
    "s": 72.671,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67417,
    "c": 0.1761,
    "h": 307.6
  },
  "luminance": 0.28077
}

Semantic roles & 50–950 ramp

primary
#B474E9
secondary
#DBEECB
accent
#D5116A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B474E9

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

Preview Lab → · Contrast checker → · Palette generator →

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