#5736C8#5736C8

#5736C8 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.8% C 0.211 H 285.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#5736C8
RGBrgb(87, 54, 200)
HSLhsl(254, 57%, 50%)
HSVhsv(254, 73%, 78%)
CMYKcmyk(56.5%, 73%, 0%, 21.6%)
CIE-LABlab(35.66, 51.49, -70.70)
CIE-LCHlch(35.66, 87.47, 306.07°)
OKLaboklab(46.81% 0.0554 -0.2035)
OKLCHoklch(46.81% 0.211 285.2)
XYZxyz(15.6718, 8.8338, 55.5117)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5736C8 #A7C836
analogous
#365EC8 #5736C8 #A036C8
triadic
#5736C8 #C85736 #36C857
tetradic
#5736C8 #C8365E #A7C836 #36C8A0
square
#5736C8 #C8365E #A7C836 #36C8A0
split-complementary
#5736C8 #C8A036 #5EC836
monochromatic
#2D1C68 #422998 #5736C8 #7F66D6 #A796E3

Accessibility & contrast

On white

7.59
#5736C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5736C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5736C8
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5736C8#FFFFFF#000000##FFFFFF
##5736C81.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#004FC5
Tritanopia (blue-blind)
#1F5E7C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5736c8;
/* rgb */ color: rgb(87, 54, 200);
/* oklch */ color: oklch(46.8% 0.211 285.2);
Tailwind
colors: {
  custom: {
    50: '#9271da',
    500: '#5736c8',
    950: '#000000',
  },
}
SCSS
$custom: #5736c8;
$custom-light: #9271da;
$custom-dark: #000000;
JSON
{
  "hex": "#5736c8",
  "rgb": {
    "r": 87,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 253.562,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46809,
    "c": 0.21094,
    "h": 285.2
  },
  "luminance": 0.08835
}

Semantic roles & 50–950 ramp

primary
#5736C8
secondary
#BFCE8C
accent
#E147BE
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5736C8

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

Preview Lab → · Contrast checker → · Palette generator →

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