#5735CC#5735CC

#5735CC is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.217 H 284.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5735CC
RGBrgb(87, 53, 204)
HSLhsl(254, 60%, 50%)
HSVhsv(254, 74%, 80%)
CMYKcmyk(57.4%, 74%, 0%, 20%)
CIE-LABlab(35.85, 53.15, -72.72)
CIE-LCHlch(35.85, 90.07, 306.16°)
OKLaboklab(47.05% 0.0552 -0.2094)
OKLCHoklch(47.05% 0.217 284.8)
XYZxyz(16.0993, 8.9311, 57.9906)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735CC #AACC35
analogous
#355ECC #5735CC #A235CC
triadic
#5735CC #CC5735 #35CC57
tetradic
#5735CC #CC355E #AACC35 #35CCA2
square
#5735CC #CC355E #AACC35 #35CCA2
split-complementary
#5735CC #CCA235 #5ECC35
monochromatic
#2D1B6B #42279C #5735CC #8066D8 #A897E5

Accessibility & contrast

On white

7.54
#5735CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5735CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5735CC
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735CC#FFFFFF#000000##FFFFFF
##5735CC1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#0050C9
Tritanopia (blue-blind)
#185F7E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5735cc;
/* rgb */ color: rgb(87, 53, 204);
/* oklch */ color: oklch(47.1% 0.217 284.8);
Tailwind
colors: {
  custom: {
    50: '#9370dd',
    500: '#5735cc',
    950: '#000000',
  },
}
SCSS
$custom: #5735cc;
$custom-light: #9370dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5735cc",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 253.51,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47054,
    "c": 0.21659,
    "h": 284.8
  },
  "luminance": 0.08932
}

Semantic roles & 50–950 ramp

primary
#5735CC
secondary
#C1D08D
accent
#E345BF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5735CC

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

Preview Lab → · Contrast checker → · Palette generator →

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