#5735CD#5735CD

#5735CD is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.1% C 0.218 H 284.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5735CD
RGBrgb(87, 53, 205)
HSLhsl(253, 60%, 51%)
HSVhsv(253, 74%, 80%)
CMYKcmyk(57.6%, 74.1%, 0%, 19.6%)
CIE-LABlab(35.94, 53.44, -73.15)
CIE-LCHlch(35.94, 90.59, 306.15°)
OKLaboklab(47.15% 0.055 -0.2107)
OKLCHoklch(47.15% 0.218 284.6)
XYZxyz(16.2197, 8.9792, 58.6243)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735CD #ABCD35
analogous
#355FCD #5735CD #A335CD
triadic
#5735CD #CD5735 #35CD57
tetradic
#5735CD #CD355F #ABCD35 #35CDA3
square
#5735CD #CD355F #ABCD35 #35CDA3
split-complementary
#5735CD #CDA335 #5FCD35
monochromatic
#2D1B6D #42279E #5735CD #8066D9 #A997E5

Accessibility & contrast

On white

7.51
#5735CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5735CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5735CD
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735CD#FFFFFF#000000##FFFFFF
##5735CD1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#0050CA
Tritanopia (blue-blind)
#16607F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5735cd;
/* rgb */ color: rgb(87, 53, 205);
/* oklch */ color: oklch(47.1% 0.218 284.6);
Tailwind
colors: {
  custom: {
    50: '#9370de',
    500: '#5735cd',
    950: '#000000',
  },
}
SCSS
$custom: #5735cd;
$custom-light: #9370de;
$custom-dark: #000000;
JSON
{
  "hex": "#5735cd",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 205
  },
  "hsl": {
    "h": 253.421,
    "s": 60.317,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47148,
    "c": 0.21774,
    "h": 284.6
  },
  "luminance": 0.0898
}

Semantic roles & 50–950 ramp

primary
#5735CD
secondary
#C2D18D
accent
#E344C0
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5735CD

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

Preview Lab → · Contrast checker → · Palette generator →

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