#5635C2#5635C2

#5635C2 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.0% C 0.205 H 285.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5635C2
RGBrgb(86, 53, 194)
HSLhsl(254, 57%, 48%)
HSVhsv(254, 73%, 76%)
CMYKcmyk(55.7%, 72.7%, 0%, 23.9%)
CIE-LABlab(34.84, 50.13, -68.55)
CIE-LCHlch(34.84, 84.92, 306.18°)
OKLaboklab(46.04% 0.0561 -0.1973)
OKLCHoklch(46.04% 0.205 285.9)
XYZxyz(14.8455, 8.4188, 51.8712)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635C2 #A1C235
analogous
#355AC2 #5635C2 #9C35C2
triadic
#5635C2 #C25635 #35C256
tetradic
#5635C2 #C2355A #A1C235 #35C29C
square
#5635C2 #C2355A #A1C235 #35C29C
split-complementary
#5635C2 #C29C35 #5AC235
monochromatic
#2B1B62 #412892 #5635C2 #7B60D4 #A391E1

Accessibility & contrast

On white

7.82
#5635C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5635C2
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5635C2#FFFFFF#000000##FFFFFF
##5635C21.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#004EBF
Tritanopia (blue-blind)
#245B78
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5635c2;
/* rgb */ color: rgb(86, 53, 194);
/* oklch */ color: oklch(46.0% 0.205 285.9);
Tailwind
colors: {
  custom: {
    50: '#9170d6',
    500: '#5635c2',
    950: '#000000',
  },
}
SCSS
$custom: #5635c2;
$custom-light: #9170d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5635c2",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 254.043,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46039,
    "c": 0.20507,
    "h": 285.9
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#5635C2
secondary
#BCCC87
accent
#E047BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5635C2

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

Preview Lab → · Contrast checker → · Palette generator →

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