#5936BA#5936BA

#5936BA is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.194 H 288.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#5936BA
RGBrgb(89, 54, 186)
HSLhsl(256, 55%, 47%)
HSVhsv(256, 71%, 73%)
CMYKcmyk(52.2%, 71%, 0%, 27.1%)
CIE-LABlab(34.61, 47.76, -64.20)
CIE-LCHlch(34.61, 80.02, 306.65°)
OKLaboklab(45.73% 0.0612 -0.1844)
OKLCHoklch(45.73% 0.194 288.4)
XYZxyz(14.2993, 8.3067, 47.2947)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5936BA #97BA36
analogous
#3655BA #5936BA #9B36BA
triadic
#5936BA #BA5936 #36BA59
tetradic
#5936BA #BA3655 #97BA36 #36BA9B
square
#5936BA #BA3655 #97BA36 #36BA9B
split-complementary
#5936BA #BA9B36 #55BA36
monochromatic
#2C1A5B #42288B #5936BA #7C5DD0 #A28DDE

Accessibility & contrast

On white

7.89
#5936BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5936BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5936BA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5936BA#FFFFFF#000000##FFFFFF
##5936BA1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5936ba;
/* rgb */ color: rgb(89, 54, 186);
/* oklch */ color: oklch(45.7% 0.194 288.4);
Tailwind
colors: {
  custom: {
    50: '#9170d0',
    500: '#5936ba',
    950: '#000000',
  },
}
SCSS
$custom: #5936ba;
$custom-light: #9170d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5936ba",
  "rgb": {
    "r": 89,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 255.909,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45732,
    "c": 0.19433,
    "h": 288.4
  },
  "luminance": 0.08307
}

Semantic roles & 50–950 ramp

primary
#5936BA
secondary
#B6C884
accent
#DE49B7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5936BA

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

Preview Lab → · Contrast checker → · Palette generator →

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