#5716CD#5716CD

#5716CD is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 44.3% C 0.241 H 287.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#5716CD
RGBrgb(87, 22, 205)
HSLhsl(261, 81%, 45%)
HSVhsv(261, 89%, 80%)
CMYKcmyk(57.6%, 89.3%, 0%, 19.6%)
CIE-LABlab(31.82, 65.46, -79.95)
CIE-LCHlch(31.82, 103.33, 309.31°)
OKLaboklab(44.3% 0.0716 -0.2302)
OKLCHoklch(44.3% 0.241 287.3)
XYZxyz(15.2335, 7.0070, 58.2955)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5716CD #8CCD16
analogous
#1631CD #5716CD #B216CD
triadic
#5716CD #CD5716 #16CD57
tetradic
#5716CD #CD1631 #8CCD16 #16CDB2
square
#5716CD #CD1631 #8CCD16 #16CDB2
split-complementary
#5716CD #CDB216 #31CD16
monochromatic
#280A5E #401096 #5716CD #7637EA #9C6EEF

Accessibility & contrast

On white

8.74
#5716CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#5716CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5716CD
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5716CD#FFFFFF#000000##FFFFFF
##5716CD1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FD2
Deuteranopia (green-blind)
#0046CA
Tritanopia (blue-blind)
#195579
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5716cd;
/* rgb */ color: rgb(87, 22, 205);
/* oklch */ color: oklch(44.3% 0.241 287.3);
Tailwind
colors: {
  custom: {
    50: '#9562de',
    500: '#5716cd',
    950: '#000000',
  },
}
SCSS
$custom: #5716cd;
$custom-light: #9562de;
$custom-dark: #000000;
JSON
{
  "hex": "#5716cd",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 205
  },
  "hsl": {
    "h": 261.311,
    "s": 80.617,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44302,
    "c": 0.24105,
    "h": 287.3
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#5716CD
secondary
#AFD569
accent
#F731B1
background
#FAF6FD
surface
#F3EBFB
border
#CDC6D4
text
#0F0615
muted
#7F7A83

Preview Lab

Preview with #5716CD

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

Preview Lab → · Contrast checker → · Palette generator →

#5716CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva