#5634C4#5634C4

#5634C4 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.1% C 0.208 H 285.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5634C4
RGBrgb(86, 52, 196)
HSLhsl(254, 58%, 49%)
HSVhsv(254, 73%, 77%)
CMYKcmyk(56.1%, 73.5%, 0%, 23.1%)
CIE-LABlab(34.84, 51.22, -69.72)
CIE-LCHlch(34.84, 86.51, 306.30°)
OKLaboklab(46.1% 0.0564 -0.2007)
OKLCHoklch(46.1% 0.208 285.7)
XYZxyz(15.0265, 8.4191, 53.0471)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5634C4 #A2C434
analogous
#345AC4 #5634C4 #9E34C4
triadic
#5634C4 #C45634 #34C456
tetradic
#5634C4 #C4345A #A2C434 #34C49E
square
#5634C4 #C4345A #A2C434 #34C49E
split-complementary
#5634C4 #C49E34 #5AC434
monochromatic
#2C1A63 #412794 #5634C4 #7C60D5 #A491E2

Accessibility & contrast

On white

7.82
#5634C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5634C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5634C4
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5634C4#FFFFFF#000000##FFFFFF
##5634C41.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#004EC1
Tritanopia (blue-blind)
#215C79
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5634c4;
/* rgb */ color: rgb(86, 52, 196);
/* oklch */ color: oklch(46.1% 0.208 285.7);
Tailwind
colors: {
  custom: {
    50: '#916fd7',
    500: '#5634c4',
    950: '#000000',
  },
}
SCSS
$custom: #5634c4;
$custom-light: #916fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#5634c4",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 254.167,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46095,
    "c": 0.20845,
    "h": 285.7
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#5634C4
secondary
#BCCC87
accent
#E147BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5634C4

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

Preview Lab → · Contrast checker → · Palette generator →

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