#5635C1#5635C1

#5635C1 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 45.9% C 0.204 H 286.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5635C1
RGBrgb(86, 53, 193)
HSLhsl(254, 57%, 48%)
HSVhsv(254, 73%, 76%)
CMYKcmyk(55.4%, 72.5%, 0%, 24.3%)
CIE-LABlab(34.75, 49.84, -68.11)
CIE-LCHlch(34.75, 84.40, 306.20°)
OKLaboklab(45.95% 0.0563 -0.196)
OKLCHoklch(45.95% 0.204 286)
XYZxyz(14.7336, 8.3741, 51.2817)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635C1 #A0C135
analogous
#355AC1 #5635C1 #9C35C1
triadic
#5635C1 #C15635 #35C156
tetradic
#5635C1 #C1355A #A0C135 #35C19C
square
#5635C1 #C1355A #A0C135 #35C19C
split-complementary
#5635C1 #C19C35 #5AC135
monochromatic
#2B1B61 #412891 #5635C1 #7B60D3 #A390E0

Accessibility & contrast

On white

7.85
#5635C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5635C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5635C1
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5635C1#FFFFFF#000000##FFFFFF
##5635C11.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#004EBE
Tritanopia (blue-blind)
#255B78
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5635c1;
/* rgb */ color: rgb(86, 53, 193);
/* oklch */ color: oklch(45.9% 0.204 286.0);
Tailwind
colors: {
  custom: {
    50: '#9170d5',
    500: '#5635c1',
    950: '#000000',
  },
}
SCSS
$custom: #5635c1;
$custom-light: #9170d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5635c1",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 254.143,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45948,
    "c": 0.20389,
    "h": 286
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#5635C1
secondary
#BBCB87
accent
#E048BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5635C1

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

Preview Lab → · Contrast checker → · Palette generator →

#5635C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva