#5635D2#5635D2

#5635D2 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.5% C 0.224 H 283.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#5635D2
RGBrgb(86, 53, 210)
HSLhsl(253, 64%, 52%)
HSVhsv(253, 75%, 82%)
CMYKcmyk(59%, 74.8%, 0%, 17.6%)
CIE-LABlab(36.32, 54.74, -75.43)
CIE-LCHlch(36.32, 93.20, 305.97°)
OKLaboklab(47.53% 0.0523 -0.2174)
OKLCHoklch(47.53% 0.224 283.5)
XYZxyz(16.7401, 9.1767, 61.8494)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635D2 #B1D235
analogous
#3563D2 #5635D2 #A435D2
triadic
#5635D2 #D25635 #35D256
tetradic
#5635D2 #D23563 #B1D235 #35D2A4
square
#5635D2 #D23563 #B1D235 #35D2A4
split-complementary
#5635D2 #D2A435 #63D235
monochromatic
#2C1A73 #4025A5 #5635D2 #8067DD #AA99E8

Accessibility & contrast

On white

7.41
#5635D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5635D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5635D2
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5635D2#FFFFFF#000000##FFFFFF
##5635D21.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD6
Deuteranopia (green-blind)
#0050CF
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5635d2;
/* rgb */ color: rgb(86, 53, 210);
/* oklch */ color: oklch(47.5% 0.224 283.5);
Tailwind
colors: {
  custom: {
    50: '#9370e1',
    500: '#5635d2',
    950: '#000000',
  },
}
SCSS
$custom: #5635d2;
$custom-light: #9370e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5635d2",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 210
  },
  "hsl": {
    "h": 252.611,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47534,
    "c": 0.22358,
    "h": 283.5
  },
  "luminance": 0.09178
}

Semantic roles & 50–950 ramp

primary
#5635D2
secondary
#C5D48F
accent
#E741C4
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #5635D2

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

Preview Lab → · Contrast checker → · Palette generator →

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