#5635BC#5635BC

#5635BC is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.198 H 286.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5635BC
RGBrgb(86, 53, 188)
HSLhsl(255, 56%, 47%)
HSVhsv(255, 72%, 74%)
CMYKcmyk(54.3%, 71.8%, 0%, 26.3%)
CIE-LABlab(34.30, 48.39, -65.90)
CIE-LCHlch(34.30, 81.76, 306.29°)
OKLaboklab(45.49% 0.0574 -0.1895)
OKLCHoklch(45.49% 0.198 286.8)
XYZxyz(14.1853, 8.1547, 48.3938)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635BC #9BBC35
analogous
#3557BC #5635BC #9A35BC
triadic
#5635BC #BC5635 #35BC56
tetradic
#5635BC #BC3557 #9BBC35 #35BC9A
square
#5635BC #BC3557 #9BBC35 #35BC9A
split-complementary
#5635BC #BC9A35 #57BC35
monochromatic
#2A1A5D #40288C #5635BC #795DD1 #A18DDF

Accessibility & contrast

On white

7.98
#5635BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5635BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5635BC
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5635BC#FFFFFF#000000##FFFFFF
##5635BC1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#2B5975
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5635bc;
/* rgb */ color: rgb(86, 53, 188);
/* oklch */ color: oklch(45.5% 0.198 286.8);
Tailwind
colors: {
  custom: {
    50: '#906fd1',
    500: '#5635bc',
    950: '#000000',
  },
}
SCSS
$custom: #5635bc;
$custom-light: #906fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5635bc",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 254.667,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45494,
    "c": 0.198,
    "h": 286.8
  },
  "luminance": 0.08155
}

Semantic roles & 50–950 ramp

primary
#5635BC
secondary
#B8C984
accent
#DF48BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5635BC

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

Preview Lab → · Contrast checker → · Palette generator →

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