#5635C5#5635C5

#5635C5 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.3% C 0.209 H 285.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5635C5
RGBrgb(86, 53, 197)
HSLhsl(254, 58%, 49%)
HSVhsv(254, 73%, 77%)
CMYKcmyk(56.3%, 73.1%, 0%, 22.7%)
CIE-LABlab(35.11, 51.00, -69.85)
CIE-LCHlch(35.11, 86.49, 306.13°)
OKLaboklab(46.32% 0.0554 -0.2011)
OKLCHoklch(46.32% 0.209 285.4)
XYZxyz(15.1858, 8.5550, 53.6636)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635C5 #A4C535
analogous
#355CC5 #5635C5 #9E35C5
triadic
#5635C5 #C55635 #35C556
tetradic
#5635C5 #C5355C #A4C535 #35C59E
square
#5635C5 #C5355C #A4C535 #35C59E
split-complementary
#5635C5 #C59E35 #5CC535
monochromatic
#2C1B65 #412895 #5635C5 #7D62D5 #A593E2

Accessibility & contrast

On white

7.75
#5635C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5635C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5635C5
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5635C5#FFFFFF#000000##FFFFFF
##5635C51.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#004EC2
Tritanopia (blue-blind)
#205D7A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5635c5;
/* rgb */ color: rgb(86, 53, 197);
/* oklch */ color: oklch(46.3% 0.209 285.4);
Tailwind
colors: {
  custom: {
    50: '#9170d8',
    500: '#5635c5',
    950: '#000000',
  },
}
SCSS
$custom: #5635c5;
$custom-light: #9170d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5635c5",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 253.75,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46315,
    "c": 0.20858,
    "h": 285.4
  },
  "luminance": 0.08556
}

Semantic roles & 50–950 ramp

primary
#5635C5
secondary
#BDCD89
accent
#E147BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5635C5

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

Preview Lab → · Contrast checker → · Palette generator →

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