#5634CC#5634CC

#5634CC is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.8% C 0.218 H 284.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#5634CC
RGBrgb(86, 52, 204)
HSLhsl(253, 60%, 50%)
HSVhsv(253, 75%, 80%)
CMYKcmyk(57.8%, 74.5%, 0%, 20%)
CIE-LABlab(35.58, 53.52, -73.16)
CIE-LCHlch(35.58, 90.65, 306.18°)
OKLaboklab(46.84% 0.0545 -0.2108)
OKLCHoklch(46.84% 0.218 284.5)
XYZxyz(15.9615, 8.7931, 57.9712)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5634CC #AACC34
analogous
#345ECC #5634CC #A234CC
triadic
#5634CC #CC5634 #34CC56
tetradic
#5634CC #CC345E #AACC34 #34CCA2
square
#5634CC #CC345E #AACC34 #34CCA2
split-complementary
#5634CC #CCA234 #5ECC34
monochromatic
#2D1B6B #41279C #5634CC #7F65D8 #A796E5

Accessibility & contrast

On white

7.61
#5634CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5634CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5634CC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5634CC#FFFFFF#000000##FFFFFF
##5634CC1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004FC9
Tritanopia (blue-blind)
#125F7E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5634cc;
/* rgb */ color: rgb(86, 52, 204);
/* oklch */ color: oklch(46.8% 0.218 284.5);
Tailwind
colors: {
  custom: {
    50: '#936fdd',
    500: '#5634cc',
    950: '#000000',
  },
}
SCSS
$custom: #5634cc;
$custom-light: #936fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5634cc",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 253.421,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46843,
    "c": 0.21768,
    "h": 284.5
  },
  "luminance": 0.08794
}

Semantic roles & 50–950 ramp

primary
#5634CC
secondary
#C1D08C
accent
#E345C0
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5634CC

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

Preview Lab → · Contrast checker → · Palette generator →

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