#B574DC#B574DC

#B574DC is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.8% C 0.162 H 311.6°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B574DC
RGBrgb(181, 116, 220)
HSLhsl(278, 60%, 66%)
HSVhsv(278, 47%, 86%)
CMYKcmyk(17.7%, 47.3%, 0%, 13.7%)
CIE-LABlab(59.42, 43.96, -43.39)
CIE-LCHlch(59.42, 61.77, 315.38°)
OKLaboklab(66.83% 0.1072 -0.1208)
OKLCHoklch(66.83% 0.162 311.6)
XYZxyz(38.2174, 27.4826, 70.9877)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B574DC #9BDC74
analogous
#8174DC #B574DC #DC74CF
triadic
#B574DC #DCB574 #74DCB5
tetradic
#B574DC #DC8174 #9BDC74 #74CFDC
square
#B574DC #DC8174 #9BDC74 #74CFDC
split-complementary
#B574DC #CFDC74 #74DC81
monochromatic
#7B2BAB #9B43D0 #B574DC #CFA5E8 #E9D6F5

Accessibility & contrast

On white

3.23
#B574DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#B574DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B574DC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B574DC#FFFFFF#000000##000000
##B574DC1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b574dc;
/* rgb */ color: rgb(181, 116, 220);
/* oklch */ color: oklch(66.8% 0.162 311.6);
Tailwind
colors: {
  custom: {
    50: '#cd9ee7',
    500: '#b574dc',
    950: '#000000',
  },
}
SCSS
$custom: #b574dc;
$custom-light: #cd9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#b574dc",
  "rgb": {
    "r": 181,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 277.5,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66828,
    "c": 0.16152,
    "h": 311.6
  },
  "luminance": 0.27482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B574DC

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

Preview Lab → · Contrast checker → · Palette generator →

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