#5735EA#5735EA

#5735EA is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.0% C 0.250 H 280.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5735EA
RGBrgb(87, 53, 234)
HSLhsl(251, 81%, 56%)
HSVhsv(251, 77%, 92%)
CMYKcmyk(62.8%, 77.4%, 0%, 8.2%)
CIE-LABlab(38.74, 61.67, -85.17)
CIE-LCHlch(38.74, 105.16, 305.91°)
OKLaboklab(49.95% 0.0475 -0.2458)
OKLCHoklch(49.95% 0.25 280.9)
XYZxyz(20.0502, 10.5114, 78.7983)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735EA #C8EA35
analogous
#356EEA #5735EA #B235EA
triadic
#5735EA #EA5735 #35EA57
tetradic
#5735EA #EA356E #C8EA35 #35EAB2
square
#5735EA #EA356E #C8EA35 #35EAB2
split-complementary
#5735EA #EAB235 #6EEA35
monochromatic
#291095 #3815CD #5735EA #856CF0 #B3A4F6

Accessibility & contrast

On white

6.77
#5735EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5735EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5735EA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735EA#FFFFFF#000000##FFFFFF
##5735EA1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.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: #5735ea;
/* rgb */ color: rgb(87, 53, 234);
/* oklch */ color: oklch(50.0% 0.250 280.9);
Tailwind
colors: {
  custom: {
    50: '#9872f2',
    500: '#5735ea',
    950: '#000000',
  },
}
SCSS
$custom: #5735ea;
$custom-light: #9872f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5735ea",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 234
  },
  "hsl": {
    "h": 251.271,
    "s": 81.166,
    "l": 56.275
  },
  "oklch": {
    "l": 0.4995,
    "c": 0.25035,
    "h": 280.9
  },
  "luminance": 0.10513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5735EA

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

Preview Lab → · Contrast checker → · Palette generator →

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