#5736BA#5736BA

#5736BA is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.194 H 287.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5736BA
RGBrgb(87, 54, 186)
HSLhsl(255, 55%, 47%)
HSVhsv(255, 71%, 73%)
CMYKcmyk(53.2%, 71%, 0%, 27.1%)
CIE-LABlab(34.41, 47.44, -64.53)
CIE-LCHlch(34.41, 80.10, 306.32°)
OKLaboklab(45.54% 0.0584 -0.1855)
OKLCHoklch(45.54% 0.194 287.5)
XYZxyz(14.1100, 8.2090, 47.2859)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5736BA #99BA36
analogous
#3657BA #5736BA #9936BA
triadic
#5736BA #BA5736 #36BA57
tetradic
#5736BA #BA3657 #99BA36 #36BA99
square
#5736BA #BA3657 #99BA36 #36BA99
split-complementary
#5736BA #BA9936 #57BA36
monochromatic
#2B1A5B #41288B #5736BA #7A5DD0 #A18DDE

Accessibility & contrast

On white

7.95
#5736BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5736BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5736BA
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5736BA#FFFFFF#000000##FFFFFF
##5736BA1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#305974
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5736ba;
/* rgb */ color: rgb(87, 54, 186);
/* oklch */ color: oklch(45.5% 0.194 287.5);
Tailwind
colors: {
  custom: {
    50: '#9070d0',
    500: '#5736ba',
    950: '#000000',
  },
}
SCSS
$custom: #5736ba;
$custom-light: #9070d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5736ba",
  "rgb": {
    "r": 87,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 255,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45543,
    "c": 0.19445,
    "h": 287.5
  },
  "luminance": 0.0821
}

Semantic roles & 50–950 ramp

primary
#5736BA
secondary
#B7C884
accent
#DE49B9
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5736BA

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

Preview Lab → · Contrast checker → · Palette generator →

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