#5635C3#5635C3

#5635C3 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.1% C 0.206 H 285.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5635C3
RGBrgb(86, 53, 195)
HSLhsl(254, 57%, 49%)
HSVhsv(254, 73%, 76%)
CMYKcmyk(55.9%, 72.8%, 0%, 23.5%)
CIE-LABlab(34.93, 50.42, -68.98)
CIE-LCHlch(34.93, 85.45, 306.16°)
OKLaboklab(46.13% 0.0558 -0.1985)
OKLCHoklch(46.13% 0.206 285.7)
XYZxyz(14.9582, 8.4639, 52.4647)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635C3 #A2C335
analogous
#355BC3 #5635C3 #9D35C3
triadic
#5635C3 #C35635 #35C356
tetradic
#5635C3 #C3355B #A2C335 #35C39D
square
#5635C3 #C3355B #A2C335 #35C39D
split-complementary
#5635C3 #C39D35 #5BC335
monochromatic
#2C1B63 #412893 #5635C3 #7C61D4 #A491E1

Accessibility & contrast

On white

7.80
#5635C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5635C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5635C3
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5635C3#FFFFFF#000000##FFFFFF
##5635C31.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C7
Deuteranopia (green-blind)
#004EC0
Tritanopia (blue-blind)
#235C79
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5635c3;
/* rgb */ color: rgb(86, 53, 195);
/* oklch */ color: oklch(46.1% 0.206 285.7);
Tailwind
colors: {
  custom: {
    50: '#9170d6',
    500: '#5635c3',
    950: '#000000',
  },
}
SCSS
$custom: #5635c3;
$custom-light: #9170d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5635c3",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 253.944,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46131,
    "c": 0.20624,
    "h": 285.7
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#5635C3
secondary
#BCCC88
accent
#E147BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5635C3

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

Preview Lab → · Contrast checker → · Palette generator →

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