#5635C7#5635C7

#5635C7 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.5% C 0.211 H 285.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5635C7
RGBrgb(86, 53, 199)
HSLhsl(254, 58%, 49%)
HSVhsv(254, 73%, 78%)
CMYKcmyk(56.8%, 73.4%, 0%, 22%)
CIE-LABlab(35.30, 51.58, -70.72)
CIE-LCHlch(35.30, 87.53, 306.10°)
OKLaboklab(46.5% 0.0549 -0.2036)
OKLCHoklch(46.5% 0.211 285.1)
XYZxyz(15.4165, 8.6472, 54.8785)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635C7 #A6C735
analogous
#355DC7 #5635C7 #9F35C7
triadic
#5635C7 #C75635 #35C756
tetradic
#5635C7 #C7355D #A6C735 #35C79F
square
#5635C7 #C7355D #A6C735 #35C79F
split-complementary
#5635C7 #C79F35 #5DC735
monochromatic
#2C1B66 #412897 #5635C7 #7D64D6 #A694E2

Accessibility & contrast

On white

7.69
#5635C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5635C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5635C7
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5635C7#FFFFFF#000000##FFFFFF
##5635C71.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#004EC4
Tritanopia (blue-blind)
#1D5D7B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5635c7;
/* rgb */ color: rgb(86, 53, 199);
/* oklch */ color: oklch(46.5% 0.211 285.1);
Tailwind
colors: {
  custom: {
    50: '#9270d9',
    500: '#5635c7',
    950: '#000000',
  },
}
SCSS
$custom: #5635c7;
$custom-light: #9270d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5635c7",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 253.562,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.465,
    "c": 0.21091,
    "h": 285.1
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5635C7

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

Preview Lab → · Contrast checker → · Palette generator →

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