#5635EA#5635EA

#5635EA is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.251 H 280.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5635EA
RGBrgb(86, 53, 234)
HSLhsl(251, 81%, 56%)
HSVhsv(251, 77%, 92%)
CMYKcmyk(63.2%, 77.4%, 0%, 8.2%)
CIE-LABlab(38.66, 61.57, -85.31)
CIE-LCHlch(38.66, 105.21, 305.82°)
OKLaboklab(49.87% 0.0461 -0.2462)
OKLCHoklch(49.87% 0.251 280.6)
XYZxyz(19.9574, 10.4636, 78.7939)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635EA #C9EA35
analogous
#356FEA #5635EA #B135EA
triadic
#5635EA #EA5635 #35EA56
tetradic
#5635EA #EA356F #C9EA35 #35EAB1
square
#5635EA #EA356F #C9EA35 #35EAB1
split-complementary
#5635EA #EAB135 #6FEA35
monochromatic
#281095 #3715CD #5635EA #846CF0 #B3A4F6

Accessibility & contrast

On white

6.79
#5635EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5635EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5635EA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5635EA#FFFFFF#000000##FFFFFF
##5635EA1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061EF
Deuteranopia (green-blind)
#0054E7
Tritanopia (blue-blind)
#006B8F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5635ea;
/* rgb */ color: rgb(86, 53, 234);
/* oklch */ color: oklch(49.9% 0.251 280.6);
Tailwind
colors: {
  custom: {
    50: '#9872f2',
    500: '#5635ea',
    950: '#000000',
  },
}
SCSS
$custom: #5635ea;
$custom-light: #9872f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5635ea",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 234
  },
  "hsl": {
    "h": 250.939,
    "s": 81.166,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49871,
    "c": 0.25051,
    "h": 280.6
  },
  "luminance": 0.10465
}

Semantic roles & 50–950 ramp

primary
#5635EA
secondary
#D5E398
accent
#F830D3
background
#FAF7FF
surface
#F4EDFE
border
#CEC8D6
text
#0F0817
muted
#7F7B85

Preview Lab

Preview with #5635EA

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

Preview Lab → · Contrast checker → · Palette generator →

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