#5635DC#5635DC

#5635DC is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.235 H 282.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5635DC
RGBrgb(86, 53, 220)
HSLhsl(252, 70%, 54%)
HSVhsv(252, 76%, 86%)
CMYKcmyk(60.9%, 75.9%, 0%, 13.7%)
CIE-LABlab(37.28, 57.60, -79.60)
CIE-LCHlch(37.28, 98.26, 305.89°)
OKLaboklab(48.5% 0.0498 -0.2296)
OKLCHoklch(48.5% 0.235 282.2)
XYZxyz(18.0251, 9.6907, 68.6169)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635DC #BBDC35
analogous
#3567DC #5635DC #A935DC
triadic
#5635DC #DC5635 #35DC56
tetradic
#5635DC #DC3567 #BBDC35 #35DCA9
square
#5635DC #DC3567 #BBDC35 #35DCA9
split-complementary
#5635DC #DCA935 #67DC35
monochromatic
#2B1680 #3D1FB5 #5635DC #8269E5 #AD9DEE

Accessibility & contrast

On white

7.15
#5635DC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5635DC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5635DC
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5635DC#FFFFFF#000000##FFFFFF
##5635DC1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE1
Deuteranopia (green-blind)
#0052D9
Tritanopia (blue-blind)
#006587
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5635dc;
/* rgb */ color: rgb(86, 53, 220);
/* oklch */ color: oklch(48.5% 0.235 282.2);
Tailwind
colors: {
  custom: {
    50: '#9571e8',
    500: '#5635dc',
    950: '#000000',
  },
}
SCSS
$custom: #5635dc;
$custom-light: #9571e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5635dc",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 220
  },
  "hsl": {
    "h": 251.856,
    "s": 70.464,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48495,
    "c": 0.23492,
    "h": 282.2
  },
  "luminance": 0.09692
}

Semantic roles & 50–950 ramp

primary
#5635DC
secondary
#CCDA93
accent
#ED3BCA
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5635DC

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

Preview Lab → · Contrast checker → · Palette generator →

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