#5735C3#5735C3

#5735C3 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.2% C 0.206 H 286.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5735C3
RGBrgb(87, 53, 195)
HSLhsl(254, 57%, 49%)
HSVhsv(254, 73%, 76%)
CMYKcmyk(55.4%, 72.8%, 0%, 23.5%)
CIE-LABlab(35.03, 50.56, -68.82)
CIE-LCHlch(35.03, 85.40, 306.31°)
OKLaboklab(46.22% 0.0573 -0.198)
OKLCHoklch(46.22% 0.206 286.1)
XYZxyz(15.0510, 8.5117, 52.4690)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735C3 #A1C335
analogous
#355AC3 #5735C3 #9E35C3
triadic
#5735C3 #C35735 #35C357
tetradic
#5735C3 #C3355A #A1C335 #35C39E
square
#5735C3 #C3355A #A1C335 #35C39E
split-complementary
#5735C3 #C39E35 #5AC335
monochromatic
#2C1B63 #422893 #5735C3 #7D61D4 #A491E1

Accessibility & contrast

On white

7.77
#5735C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5735C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5735C3
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735C3#FFFFFF#000000##FFFFFF
##5735C31.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C7
Deuteranopia (green-blind)
#004EC0
Tritanopia (blue-blind)
#265C79
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5735c3;
/* rgb */ color: rgb(87, 53, 195);
/* oklch */ color: oklch(46.2% 0.206 286.1);
Tailwind
colors: {
  custom: {
    50: '#9270d6',
    500: '#5735c3',
    950: '#000000',
  },
}
SCSS
$custom: #5735c3;
$custom-light: #9270d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5735c3",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 254.366,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46222,
    "c": 0.20616,
    "h": 286.1
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

primary
#5735C3
secondary
#BCCC88
accent
#E147BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5735C3

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

Preview Lab → · Contrast checker → · Palette generator →

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