#B474E4#B474E4

#B474E4 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.1% C 0.170 H 308.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B474E4
RGBrgb(180, 116, 228)
HSLhsl(274, 67%, 67%)
HSVhsv(274, 49%, 89%)
CMYKcmyk(21.1%, 49.1%, 0%, 10.6%)
CIE-LABlab(59.70, 45.45, -47.42)
CIE-LCHlch(59.70, 65.69, 313.78°)
OKLaboklab(67.15% 0.1069 -0.1326)
OKLCHoklch(67.15% 0.17 308.9)
XYZxyz(39.0687, 27.7961, 76.6908)
Luminance0.2780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474E4 #A4E474
analogous
#7C74E4 #B474E4 #E474DC
triadic
#B474E4 #E4B474 #74E4B4
tetradic
#B474E4 #E47C74 #A4E474 #74DCE4
square
#B474E4 #E47C74 #A4E474 #74DCE4
split-complementary
#B474E4 #DCE474 #74E47C
monochromatic
#7924BA #9841DA #B474E4 #D0A7EE #EBDAF8

Accessibility & contrast

On white

3.20
#B474E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#B474E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474E4
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474E4#FFFFFF#000000##000000
##B474E41.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#578DE8
Deuteranopia (green-blind)
#6991E1
Tritanopia (blue-blind)
#AE87A1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b474e4;
/* rgb */ color: rgb(180, 116, 228);
/* oklch */ color: oklch(67.1% 0.170 308.9);
Tailwind
colors: {
  custom: {
    50: '#cd9eed',
    500: '#b474e4',
    950: '#000000',
  },
}
SCSS
$custom: #b474e4;
$custom-light: #cd9eed;
$custom-dark: #000000;
JSON
{
  "hex": "#b474e4",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 228
  },
  "hsl": {
    "h": 274.286,
    "s": 67.47,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67145,
    "c": 0.17034,
    "h": 308.9
  },
  "luminance": 0.27796
}

Semantic roles & 50–950 ramp

primary
#B474E4
secondary
#D7EBC8
accent
#CF1666
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B474E4

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

Preview Lab → · Contrast checker → · Palette generator →

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