#5634CF#5634CF

#5634CF is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.221 H 284.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#5634CF
RGBrgb(86, 52, 207)
HSLhsl(253, 62%, 51%)
HSVhsv(253, 75%, 81%)
CMYKcmyk(58.5%, 74.9%, 0%, 18.8%)
CIE-LABlab(35.87, 54.38, -74.44)
CIE-LCHlch(35.87, 92.18, 306.15°)
OKLaboklab(47.13% 0.0537 -0.2145)
OKLCHoklch(47.13% 0.221 284.1)
XYZxyz(16.3248, 8.9384, 59.8844)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5634CF #ADCF34
analogous
#345FCF #5634CF #A334CF
triadic
#5634CF #CF5634 #34CF56
tetradic
#5634CF #CF345F #ADCF34 #34CFA3
square
#5634CF #CF345F #ADCF34 #34CFA3
split-complementary
#5634CF #CFA334 #5FCF34
monochromatic
#2D1A6E #4126A0 #5634CF #7F65DB #A897E6

Accessibility & contrast

On white

7.53
#5634CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5634CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5634CF
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5634CF#FFFFFF#000000##FFFFFF
##5634CF1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D3
Deuteranopia (green-blind)
#004FCC
Tritanopia (blue-blind)
#09607F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5634cf;
/* rgb */ color: rgb(86, 52, 207);
/* oklch */ color: oklch(47.1% 0.221 284.1);
Tailwind
colors: {
  custom: {
    50: '#9370df',
    500: '#5634cf',
    950: '#000000',
  },
}
SCSS
$custom: #5634cf;
$custom-light: #9370df;
$custom-dark: #000000;
JSON
{
  "hex": "#5634cf",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 207
  },
  "hsl": {
    "h": 253.161,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47127,
    "c": 0.22112,
    "h": 284.1
  },
  "luminance": 0.08939
}

Semantic roles & 50–950 ramp

primary
#5634CF
secondary
#C3D28D
accent
#E543C1
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5634CF

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

Preview Lab → · Contrast checker → · Palette generator →

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