#5635C6#5635C6

#5635C6 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.4% C 0.210 H 285.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5635C6
RGBrgb(86, 53, 198)
HSLhsl(254, 58%, 49%)
HSVhsv(254, 73%, 78%)
CMYKcmyk(56.6%, 73.2%, 0%, 22.4%)
CIE-LABlab(35.20, 51.29, -70.29)
CIE-LCHlch(35.20, 87.01, 306.12°)
OKLaboklab(46.41% 0.0552 -0.2024)
OKLCHoklch(46.41% 0.21 285.2)
XYZxyz(15.3008, 8.6010, 54.2690)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635C6 #A5C635
analogous
#355DC6 #5635C6 #9F35C6
triadic
#5635C6 #C65635 #35C656
tetradic
#5635C6 #C6355D #A5C635 #35C69F
square
#5635C6 #C6355D #A5C635 #35C69F
split-complementary
#5635C6 #C69F35 #5DC635
monochromatic
#2C1B65 #412896 #5635C6 #7D63D5 #A593E2

Accessibility & contrast

On white

7.72
#5635C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5635C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5635C6
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5635C6#FFFFFF#000000##FFFFFF
##5635C61.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CA
Deuteranopia (green-blind)
#004EC3
Tritanopia (blue-blind)
#1E5D7B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5635c6;
/* rgb */ color: rgb(86, 53, 198);
/* oklch */ color: oklch(46.4% 0.210 285.2);
Tailwind
colors: {
  custom: {
    50: '#9270d8',
    500: '#5635c6',
    950: '#000000',
  },
}
SCSS
$custom: #5635c6;
$custom-light: #9270d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5635c6",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 253.655,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46407,
    "c": 0.20974,
    "h": 285.2
  },
  "luminance": 0.08602
}

Semantic roles & 50–950 ramp

primary
#5635C6
secondary
#BECD8A
accent
#E147BE
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5635C6

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

Preview Lab → · Contrast checker → · Palette generator →

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