#5635CA#5635CA

#5635CA is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.8% C 0.214 H 284.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#5635CA
RGBrgb(86, 53, 202)
HSLhsl(253, 58%, 50%)
HSVhsv(253, 74%, 79%)
CMYKcmyk(57.4%, 73.8%, 0%, 20.8%)
CIE-LABlab(35.57, 52.44, -72.02)
CIE-LCHlch(35.57, 89.09, 306.06°)
OKLaboklab(46.78% 0.0542 -0.2074)
OKLCHoklch(46.78% 0.214 284.7)
XYZxyz(15.7683, 8.7879, 56.7310)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635CA #A9CA35
analogous
#355ECA #5635CA #A135CA
triadic
#5635CA #CA5635 #35CA56
tetradic
#5635CA #CA355E #A9CA35 #35CAA1
square
#5635CA #CA355E #A9CA35 #35CAA1
split-complementary
#5635CA #CAA135 #5ECA35
monochromatic
#2D1C69 #41289A #5635CA #7F65D7 #A796E3

Accessibility & contrast

On white

7.61
#5635CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5635CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5635CA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5635CA#FFFFFF#000000##FFFFFF
##5635CA1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004FC7
Tritanopia (blue-blind)
#175E7D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5635ca;
/* rgb */ color: rgb(86, 53, 202);
/* oklch */ color: oklch(46.8% 0.214 284.7);
Tailwind
colors: {
  custom: {
    50: '#9270db',
    500: '#5635ca',
    950: '#000000',
  },
}
SCSS
$custom: #5635ca;
$custom-light: #9270db;
$custom-dark: #000000;
JSON
{
  "hex": "#5635ca",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 253.289,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.46779,
    "c": 0.21439,
    "h": 284.7
  },
  "luminance": 0.08789
}

Semantic roles & 50–950 ramp

primary
#5635CA
secondary
#C0CF8C
accent
#E246BF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5635CA

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

Preview Lab → · Contrast checker → · Palette generator →

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