#5635BE#5635BE

#5635BE is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.7% C 0.200 H 286.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5635BE
RGBrgb(86, 53, 190)
HSLhsl(254, 56%, 48%)
HSVhsv(254, 72%, 75%)
CMYKcmyk(54.7%, 72.1%, 0%, 25.5%)
CIE-LABlab(34.48, 48.97, -66.79)
CIE-LCHlch(34.48, 82.82, 306.25°)
OKLaboklab(45.68% 0.0569 -0.1921)
OKLCHoklch(45.68% 0.2 286.5)
XYZxyz(14.4023, 8.2416, 49.5371)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635BE #9DBE35
analogous
#3558BE #5635BE #9B35BE
triadic
#5635BE #BE5635 #35BE56
tetradic
#5635BE #BE3558 #9DBE35 #35BE9B
square
#5635BE #BE3558 #9DBE35 #35BE9B
split-complementary
#5635BE #BE9B35 #58BE35
monochromatic
#2B1A5E #40288E #5635BE #7A5ED2 #A28EDF

Accessibility & contrast

On white

7.93
#5635BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5635BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5635BE
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5635BE#FFFFFF#000000##FFFFFF
##5635BE1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004DBB
Tritanopia (blue-blind)
#295A76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5635be;
/* rgb */ color: rgb(86, 53, 190);
/* oklch */ color: oklch(45.7% 0.200 286.5);
Tailwind
colors: {
  custom: {
    50: '#906fd3',
    500: '#5635be',
    950: '#000000',
  },
}
SCSS
$custom: #5635be;
$custom-light: #906fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5635be",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 254.453,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45675,
    "c": 0.20036,
    "h": 286.5
  },
  "luminance": 0.08242
}

Semantic roles & 50–950 ramp

primary
#5635BE
secondary
#B9CA85
accent
#E048BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5635BE

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

Preview Lab → · Contrast checker → · Palette generator →

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