#B474CF#B474CF

#B474CF is a light, vivid purple. Relative luminance 0.267; OKLCH L 66.1% C 0.146 H 315.3°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B474CF
RGBrgb(180, 116, 207)
HSLhsl(282, 49%, 63%)
HSVhsv(282, 44%, 81%)
CMYKcmyk(13%, 44%, 0%, 18.8%)
CIE-LABlab(58.70, 40.90, -37.22)
CIE-LCHlch(58.70, 55.30, 317.70°)
OKLaboklab(66.06% 0.104 -0.103)
OKLCHoklch(66.06% 0.146 315.3)
XYZxyz(36.3285, 26.7000, 62.2593)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474CF #8FCF74
analogous
#8674CF #B474CF #CF74BC
triadic
#B474CF #CFB474 #74CFB4
tetradic
#B474CF #CF8674 #8FCF74 #74BCCF
square
#B474CF #CF8674 #8FCF74 #74BCCF
split-complementary
#B474CF #BCCF74 #74CF86
monochromatic
#783395 #9B47BF #B474CF #CDA1DF #E5CFEE

Accessibility & contrast

On white

3.31
#B474CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#B474CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474CF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474CF#FFFFFF#000000##000000
##B474CF1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6389D2
Deuteranopia (green-blind)
#748FCC
Tritanopia (blue-blind)
#B38198
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b474cf;
/* rgb */ color: rgb(180, 116, 207);
/* oklch */ color: oklch(66.1% 0.146 315.3);
Tailwind
colors: {
  custom: {
    50: '#cc9dde',
    500: '#b474cf',
    950: '#000000',
  },
}
SCSS
$custom: #b474cf;
$custom-light: #cc9dde;
$custom-dark: #000000;
JSON
{
  "hex": "#b474cf",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 282.198,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66064,
    "c": 0.14639,
    "h": 315.3
  },
  "luminance": 0.26699
}

Semantic roles & 50–950 ramp

primary
#B474CF
secondary
#C9E0BF
accent
#BC2A55
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B474CF

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

Preview Lab → · Contrast checker → · Palette generator →

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