#5634BA#5634BA

#5634BA is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.197 H 287.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#5634BA
RGBrgb(86, 52, 186)
HSLhsl(255, 56%, 47%)
HSVhsv(255, 72%, 73%)
CMYKcmyk(53.8%, 72%, 0%, 27.1%)
CIE-LABlab(33.94, 48.34, -65.32)
CIE-LCHlch(33.94, 81.26, 306.50°)
OKLaboklab(45.18% 0.0586 -0.1878)
OKLCHoklch(45.18% 0.197 287.3)
XYZxyz(13.9260, 7.9789, 47.2511)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5634BA #98BA34
analogous
#3455BA #5634BA #9934BA
triadic
#5634BA #BA5634 #34BA56
tetradic
#5634BA #BA3455 #98BA34 #34BA99
square
#5634BA #BA3455 #98BA34 #34BA99
split-complementary
#5634BA #BA9934 #55BA34
monochromatic
#2A195A #40278A #5634BA #785AD1 #9F8ADE

Accessibility & contrast

On white

8.09
#5634BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5634BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5634BA
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5634BA#FFFFFF#000000##FFFFFF
##5634BA1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#2D5874
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5634ba;
/* rgb */ color: rgb(86, 52, 186);
/* oklch */ color: oklch(45.2% 0.197 287.3);
Tailwind
colors: {
  custom: {
    50: '#906fd0',
    500: '#5634ba',
    950: '#000000',
  },
}
SCSS
$custom: #5634ba;
$custom-light: #906fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5634ba",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 255.224,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45181,
    "c": 0.19674,
    "h": 287.3
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

primary
#5634BA
secondary
#B6C881
accent
#E048B9
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5634BA

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

Preview Lab → · Contrast checker → · Palette generator →

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