#5736CA#5736CA

#5736CA is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.0% C 0.213 H 284.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5736CA
RGBrgb(87, 54, 202)
HSLhsl(253, 58%, 50%)
HSVhsv(253, 73%, 79%)
CMYKcmyk(56.9%, 73.3%, 0%, 20.8%)
CIE-LABlab(35.85, 52.07, -71.57)
CIE-LCHlch(35.85, 88.50, 306.04°)
OKLaboklab(46.99% 0.0549 -0.2061)
OKLCHoklch(46.99% 0.213 284.9)
XYZxyz(15.9071, 8.9279, 56.7507)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5736CA #A9CA36
analogous
#365FCA #5736CA #A136CA
triadic
#5736CA #CA5736 #36CA57
tetradic
#5736CA #CA365F #A9CA36 #36CAA1
square
#5736CA #CA365F #A9CA36 #36CAA1
split-complementary
#5736CA #CAA136 #5FCA36
monochromatic
#2D1C6A #42299A #5736CA #7F66D7 #A897E4

Accessibility & contrast

On white

7.54
#5736CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5736CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5736CA
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5736CA#FFFFFF#000000##FFFFFF
##5736CA1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#1B5F7D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5736ca;
/* rgb */ color: rgb(87, 54, 202);
/* oklch */ color: oklch(47.0% 0.213 284.9);
Tailwind
colors: {
  custom: {
    50: '#9371db',
    500: '#5736ca',
    950: '#000000',
  },
}
SCSS
$custom: #5736ca;
$custom-light: #9371db;
$custom-dark: #000000;
JSON
{
  "hex": "#5736ca",
  "rgb": {
    "r": 87,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 253.378,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46994,
    "c": 0.21327,
    "h": 284.9
  },
  "luminance": 0.08929
}

Semantic roles & 50–950 ramp

primary
#5736CA
secondary
#C0CF8D
accent
#E146BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5736CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5736CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva