#5634C7#5634C7

#5634C7 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.4% C 0.212 H 285.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5634C7
RGBrgb(86, 52, 199)
HSLhsl(254, 59%, 49%)
HSVhsv(254, 74%, 78%)
CMYKcmyk(56.8%, 73.9%, 0%, 22%)
CIE-LABlab(35.12, 52.08, -71.02)
CIE-LCHlch(35.12, 88.07, 306.26°)
OKLaboklab(46.37% 0.0557 -0.2045)
OKLCHoklch(46.37% 0.212 285.2)
XYZxyz(15.3714, 8.5570, 54.8634)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5634C7 #A5C734
analogous
#345BC7 #5634C7 #A034C7
triadic
#5634C7 #C75634 #34C756
tetradic
#5634C7 #C7345B #A5C734 #34C7A0
square
#5634C7 #C7345B #A5C734 #34C7A0
split-complementary
#5634C7 #C7A034 #5BC734
monochromatic
#2C1B66 #412796 #5634C7 #7D62D6 #A593E3

Accessibility & contrast

On white

7.74
#5634C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5634C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5634C7
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5634C7#FFFFFF#000000##FFFFFF
##5634C71.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#004EC4
Tritanopia (blue-blind)
#1D5D7B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5634c7;
/* rgb */ color: rgb(86, 52, 199);
/* oklch */ color: oklch(46.4% 0.212 285.2);
Tailwind
colors: {
  custom: {
    50: '#926fd9',
    500: '#5634c7',
    950: '#000000',
  },
}
SCSS
$custom: #5634c7;
$custom-light: #926fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5634c7",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 253.878,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46374,
    "c": 0.21193,
    "h": 285.2
  },
  "luminance": 0.08558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5634C7

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

Preview Lab → · Contrast checker → · Palette generator →

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