#5634C5#5634C5

#5634C5 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.2% C 0.210 H 285.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5634C5
RGBrgb(86, 52, 197)
HSLhsl(254, 58%, 49%)
HSVhsv(254, 74%, 77%)
CMYKcmyk(56.3%, 73.6%, 0%, 22.7%)
CIE-LABlab(34.93, 51.51, -70.15)
CIE-LCHlch(34.93, 87.03, 306.29°)
OKLaboklab(46.19% 0.0562 -0.2019)
OKLCHoklch(46.19% 0.21 285.5)
XYZxyz(15.1407, 8.4648, 53.6485)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5634C5 #A3C534
analogous
#345BC5 #5634C5 #9F34C5
triadic
#5634C5 #C55634 #34C556
tetradic
#5634C5 #C5345B #A3C534 #34C59F
square
#5634C5 #C5345B #A3C534 #34C59F
split-complementary
#5634C5 #C59F34 #5BC534
monochromatic
#2C1A64 #412795 #5634C5 #7C61D5 #A491E2

Accessibility & contrast

On white

7.80
#5634C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5634C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5634C5
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5634C5#FFFFFF#000000##FFFFFF
##5634C51.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#004EC2
Tritanopia (blue-blind)
#205C7A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5634c5;
/* rgb */ color: rgb(86, 52, 197);
/* oklch */ color: oklch(46.2% 0.210 285.5);
Tailwind
colors: {
  custom: {
    50: '#916fd8',
    500: '#5634c5',
    950: '#000000',
  },
}
SCSS
$custom: #5634c5;
$custom-light: #916fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#5634c5",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 254.069,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46188,
    "c": 0.20961,
    "h": 285.5
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

primary
#5634C5
secondary
#BDCD88
accent
#E146BD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5634C5

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

Preview Lab → · Contrast checker → · Palette generator →

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