#5634BC#5634BC

#5634BC is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.199 H 287.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#5634BC
RGBrgb(86, 52, 188)
HSLhsl(255, 57%, 47%)
HSVhsv(255, 72%, 74%)
CMYKcmyk(54.3%, 72.3%, 0%, 26.3%)
CIE-LABlab(34.12, 48.92, -66.21)
CIE-LCHlch(34.12, 82.32, 306.46°)
OKLaboklab(45.36% 0.0582 -0.1904)
OKLCHoklch(45.36% 0.199 287)
XYZxyz(14.1401, 8.0645, 48.3787)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5634BC #9ABC34
analogous
#3456BC #5634BC #9A34BC
triadic
#5634BC #BC5634 #34BC56
tetradic
#5634BC #BC3456 #9ABC34 #34BC9A
square
#5634BC #BC3456 #9ABC34 #34BC9A
split-complementary
#5634BC #BC9A34 #56BC34
monochromatic
#2A195C #40278C #5634BC #795BD2 #A08BDF

Accessibility & contrast

On white

8.04
#5634BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5634BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5634BC
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5634BC#FFFFFF#000000##FFFFFF
##5634BC1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#2B5975
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5634bc;
/* rgb */ color: rgb(86, 52, 188);
/* oklch */ color: oklch(45.4% 0.199 287.0);
Tailwind
colors: {
  custom: {
    50: '#906fd1',
    500: '#5634bc',
    950: '#000000',
  },
}
SCSS
$custom: #5634bc;
$custom-light: #906fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5634bc",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 255,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45362,
    "c": 0.19909,
    "h": 287
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#5634BC
secondary
#B8C983
accent
#E048BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5634BC

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

Preview Lab → · Contrast checker → · Palette generator →

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