#B474DC#B474DC

#B474DC is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.7% C 0.161 H 311.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B474DC
RGBrgb(180, 116, 220)
HSLhsl(277, 60%, 66%)
HSVhsv(277, 47%, 86%)
CMYKcmyk(18.2%, 47.3%, 0%, 13.7%)
CIE-LABlab(59.31, 43.69, -43.57)
CIE-LCHlch(59.31, 61.70, 315.08°)
OKLaboklab(66.72% 0.106 -0.1214)
OKLCHoklch(66.72% 0.161 311.1)
XYZxyz(37.9837, 27.3621, 70.9767)
Luminance0.2736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474DC #9CDC74
analogous
#8074DC #B474DC #DC74D0
triadic
#B474DC #DCB474 #74DCB4
tetradic
#B474DC #DC8074 #9CDC74 #74D0DC
square
#B474DC #DC8074 #9CDC74 #74D0DC
split-complementary
#B474DC #D0DC74 #74DC80
monochromatic
#7A2BAB #9A43D0 #B474DC #CEA5E8 #E9D6F5

Accessibility & contrast

On white

3.24
#B474DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#B474DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474DC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474DC#FFFFFF#000000##000000
##B474DC1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8CE0
Deuteranopia (green-blind)
#6E90D9
Tritanopia (blue-blind)
#B0849E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b474dc;
/* rgb */ color: rgb(180, 116, 220);
/* oklch */ color: oklch(66.7% 0.161 311.1);
Tailwind
colors: {
  custom: {
    50: '#cc9de7',
    500: '#b474dc',
    950: '#000000',
  },
}
SCSS
$custom: #b474dc;
$custom-light: #cc9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#b474dc",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 276.923,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66721,
    "c": 0.16114,
    "h": 311.1
  },
  "luminance": 0.27361
}

Semantic roles & 50–950 ramp

primary
#B474DC
secondary
#D2E7C5
accent
#C71E5F
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B474DC

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

Preview Lab → · Contrast checker → · Palette generator →

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