#5635BB#5635BB

#5635BB is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.197 H 287.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5635BB
RGBrgb(86, 53, 187)
HSLhsl(255, 56%, 47%)
HSVhsv(255, 72%, 73%)
CMYKcmyk(54%, 71.7%, 0%, 26.7%)
CIE-LABlab(34.21, 48.10, -65.46)
CIE-LCHlch(34.21, 81.23, 306.31°)
OKLaboklab(45.4% 0.0576 -0.1882)
OKLCHoklch(45.4% 0.197 287)
XYZxyz(14.0778, 8.1118, 47.8280)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635BB #9ABB35
analogous
#3557BB #5635BB #9935BB
triadic
#5635BB #BB5635 #35BB56
tetradic
#5635BB #BB3557 #9ABB35 #35BB99
square
#5635BB #BB3557 #9ABB35 #35BB99
split-complementary
#5635BB #BB9935 #57BB35
monochromatic
#2A1A5C #40278B #5635BB #795CD1 #A08CDE

Accessibility & contrast

On white

8.01
#5635BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5635BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5635BB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5635BB#FFFFFF#000000##FFFFFF
##5635BB1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#2C5974
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5635bb;
/* rgb */ color: rgb(86, 53, 187);
/* oklch */ color: oklch(45.4% 0.197 287.0);
Tailwind
colors: {
  custom: {
    50: '#906fd1',
    500: '#5635bb',
    950: '#000000',
  },
}
SCSS
$custom: #5635bb;
$custom-light: #906fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5635bb",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 254.776,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45404,
    "c": 0.19682,
    "h": 287
  },
  "luminance": 0.08112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5635BB

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

Preview Lab → · Contrast checker → · Palette generator →

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