#5634C8#5634C8

#5634C8 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.5% C 0.213 H 285.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5634C8
RGBrgb(86, 52, 200)
HSLhsl(254, 59%, 49%)
HSVhsv(254, 74%, 78%)
CMYKcmyk(57%, 74%, 0%, 21.6%)
CIE-LABlab(35.21, 52.37, -71.45)
CIE-LCHlch(35.21, 88.58, 306.24°)
OKLaboklab(46.47% 0.0554 -0.2057)
OKLCHoklch(46.47% 0.213 285.1)
XYZxyz(15.4879, 8.6036, 55.4769)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5634C8 #A6C834
analogous
#345CC8 #5634C8 #A034C8
triadic
#5634C8 #C85634 #34C856
tetradic
#5634C8 #C8345C #A6C834 #34C8A0
square
#5634C8 #C8345C #A6C834 #34C8A0
split-complementary
#5634C8 #C8A034 #5CC834
monochromatic
#2C1B67 #412797 #5634C8 #7D63D6 #A693E3

Accessibility & contrast

On white

7.72
#5634C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5634C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5634C8
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5634C8#FFFFFF#000000##FFFFFF
##5634C81.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#004EC5
Tritanopia (blue-blind)
#1B5D7B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5634c8;
/* rgb */ color: rgb(86, 52, 200);
/* oklch */ color: oklch(46.5% 0.213 285.1);
Tailwind
colors: {
  custom: {
    50: '#926fda',
    500: '#5634c8',
    950: '#000000',
  },
}
SCSS
$custom: #5634c8;
$custom-light: #926fda;
$custom-dark: #000000;
JSON
{
  "hex": "#5634c8",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 200
  },
  "hsl": {
    "h": 253.784,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46467,
    "c": 0.21309,
    "h": 285.1
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#5634C8
secondary
#BECE8A
accent
#E246BE
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5634C8

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

Preview Lab → · Contrast checker → · Palette generator →

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