#5714A0#5714A0

#5714A0 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.6% C 0.198 H 297.4°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#5714A0
RGBrgb(87, 20, 160)
HSLhsl(269, 78%, 35%)
HSVhsv(269, 88%, 63%)
CMYKcmyk(45.6%, 87.5%, 0%, 37.3%)
CIE-LABlab(26.92, 55.11, -61.26)
CIE-LCHlch(26.92, 82.40, 311.98°)
OKLaboklab(39.57% 0.0911 -0.1756)
OKLCHoklch(39.57% 0.198 297.4)
XYZxyz(10.5241, 5.0644, 33.6739)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5714A0 #5DA014
analogous
#1417A0 #5714A0 #9D14A0
triadic
#5714A0 #A05714 #14A057
tetradic
#5714A0 #A01417 #5DA014 #14A09D
square
#5714A0 #A01417 #5DA014 #14A09D
split-complementary
#5714A0 #A09D14 #17A014
monochromatic
#1C0633 #390D6A #5714A0 #751BD6 #9446E8

Accessibility & contrast

On white

10.43
#5714A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#5714A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5714A0
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5714A0#FFFFFF#000000##FFFFFF
##5714A01.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#003E9E
Tritanopia (blue-blind)
#43405E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5714a0;
/* rgb */ color: rgb(87, 20, 160);
/* oklch */ color: oklch(39.6% 0.198 297.4);
Tailwind
colors: {
  custom: {
    50: '#8f5ebd',
    500: '#5714a0',
    950: '#000000',
  },
}
SCSS
$custom: #5714a0;
$custom-light: #8f5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#5714a0",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 160
  },
  "hsl": {
    "h": 268.714,
    "s": 77.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3957,
    "c": 0.19782,
    "h": 297.4
  },
  "luminance": 0.05065
}

Semantic roles & 50–950 ramp

primary
#5714A0
secondary
#8BC947
accent
#F43498
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #5714A0

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

Preview Lab → · Contrast checker → · Palette generator →

#5714A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva