#5635BA#5635BA

#5635BA is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.196 H 287.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#5635BA
RGBrgb(86, 53, 186)
HSLhsl(255, 56%, 47%)
HSVhsv(255, 72%, 73%)
CMYKcmyk(53.8%, 71.5%, 0%, 27.1%)
CIE-LABlab(34.13, 47.82, -65.01)
CIE-LCHlch(34.13, 80.70, 306.33°)
OKLaboklab(45.31% 0.0578 -0.1869)
OKLCHoklch(45.31% 0.196 287.2)
XYZxyz(13.9712, 8.0691, 47.2662)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635BA #99BA35
analogous
#3557BA #5635BA #9935BA
triadic
#5635BA #BA5635 #35BA56
tetradic
#5635BA #BA3557 #99BA35 #35BA99
square
#5635BA #BA3557 #99BA35 #35BA99
split-complementary
#5635BA #BA9935 #57BA35
monochromatic
#2A1A5B #40278A #5635BA #795CD0 #A08BDE

Accessibility & contrast

On white

8.03
#5635BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5635BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5635BA
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5635BA#FFFFFF#000000##FFFFFF
##5635BA1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#2D5874
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5635ba;
/* rgb */ color: rgb(86, 53, 186);
/* oklch */ color: oklch(45.3% 0.196 287.2);
Tailwind
colors: {
  custom: {
    50: '#906fd0',
    500: '#5635ba',
    950: '#000000',
  },
}
SCSS
$custom: #5635ba;
$custom-light: #906fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5635ba",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 254.887,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45314,
    "c": 0.19563,
    "h": 287.2
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

primary
#5635BA
secondary
#B7C882
accent
#DF49BA
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5635BA

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

Preview Lab → · Contrast checker → · Palette generator →

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