#5735C5#5735C5

#5735C5 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.4% C 0.208 H 285.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5735C5
RGBrgb(87, 53, 197)
HSLhsl(254, 58%, 49%)
HSVhsv(254, 73%, 77%)
CMYKcmyk(55.8%, 73.1%, 0%, 22.7%)
CIE-LABlab(35.21, 51.14, -69.69)
CIE-LCHlch(35.21, 86.44, 306.27°)
OKLaboklab(46.41% 0.0568 -0.2006)
OKLCHoklch(46.41% 0.208 285.8)
XYZxyz(15.2786, 8.6028, 53.6679)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735C5 #A3C535
analogous
#355BC5 #5735C5 #9F35C5
triadic
#5735C5 #C55735 #35C557
tetradic
#5735C5 #C5355B #A3C535 #35C59F
square
#5735C5 #C5355B #A3C535 #35C59F
split-complementary
#5735C5 #C59F35 #5BC535
monochromatic
#2C1B65 #422895 #5735C5 #7D62D5 #A593E2

Accessibility & contrast

On white

7.72
#5735C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5735C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5735C5
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735C5#FFFFFF#000000##FFFFFF
##5735C51.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#004EC2
Tritanopia (blue-blind)
#235C7A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5735c5;
/* rgb */ color: rgb(87, 53, 197);
/* oklch */ color: oklch(46.4% 0.208 285.8);
Tailwind
colors: {
  custom: {
    50: '#9270d8',
    500: '#5735c5',
    950: '#000000',
  },
}
SCSS
$custom: #5735c5;
$custom-light: #9270d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5735c5",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 254.167,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46405,
    "c": 0.20849,
    "h": 285.8
  },
  "luminance": 0.08604
}

Semantic roles & 50–950 ramp

primary
#5735C5
secondary
#BDCD89
accent
#E147BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5735C5

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

Preview Lab → · Contrast checker → · Palette generator →

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