#B474C8#B474C8

#B474C8 is a light, vivid purple. Relative luminance 0.264; OKLCH L 65.7% C 0.139 H 317.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B474C8
RGBrgb(180, 116, 200)
HSLhsl(286, 43%, 62%)
HSVhsv(286, 42%, 78%)
CMYKcmyk(10%, 42%, 0%, 21.6%)
CIE-LABlab(58.38, 39.44, -33.74)
CIE-LCHlch(58.38, 51.90, 319.45°)
OKLaboklab(65.73% 0.1027 -0.093)
OKLCHoklch(65.73% 0.139 317.8)
XYZxyz(35.4917, 26.3653, 57.8518)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474C8 #88C874
analogous
#8A74C8 #B474C8 #C874B2
triadic
#B474C8 #C8B474 #74C8B4
tetradic
#B474C8 #C88A74 #88C874 #74B2C8
square
#B474C8 #C88A74 #88C874 #74B2C8
split-complementary
#B474C8 #B2C874 #74C88A
monochromatic
#77378B #9C48B7 #B474C8 #CCA0D9 #E3CCEB

Accessibility & contrast

On white

3.35
#B474C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#B474C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474C8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474C8#FFFFFF#000000##000000
##B474C81.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6788CB
Deuteranopia (green-blind)
#788FC6
Tritanopia (blue-blind)
#B47F95
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b474c8;
/* rgb */ color: rgb(180, 116, 200);
/* oklch */ color: oklch(65.7% 0.139 317.8);
Tailwind
colors: {
  custom: {
    50: '#cc9dd9',
    500: '#b474c8',
    950: '#000000',
  },
}
SCSS
$custom: #b474c8;
$custom-light: #cc9dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b474c8",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 285.714,
    "s": 43.299,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65726,
    "c": 0.13859,
    "h": 317.8
  },
  "luminance": 0.26364
}

Semantic roles & 50–950 ramp

primary
#B474C8
secondary
#C4DBBC
accent
#B62F4F
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #B474C8

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

Preview Lab → · Contrast checker → · Palette generator →

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