#5735CA#5735CA

#5735CA is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.9% C 0.214 H 285.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#5735CA
RGBrgb(87, 53, 202)
HSLhsl(254, 58%, 50%)
HSVhsv(254, 74%, 79%)
CMYKcmyk(56.9%, 73.8%, 0%, 20.8%)
CIE-LABlab(35.67, 52.58, -71.86)
CIE-LCHlch(35.67, 89.04, 306.19°)
OKLaboklab(46.87% 0.0557 -0.2069)
OKLCHoklch(46.87% 0.214 285.1)
XYZxyz(15.8610, 8.8358, 56.7354)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735CA #A8CA35
analogous
#355ECA #5735CA #A135CA
triadic
#5735CA #CA5735 #35CA57
tetradic
#5735CA #CA355E #A8CA35 #35CAA1
square
#5735CA #CA355E #A8CA35 #35CAA1
split-complementary
#5735CA #CAA135 #5ECA35
monochromatic
#2D1C69 #42289A #5735CA #7F65D7 #A896E3

Accessibility & contrast

On white

7.59
#5735CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5735CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5735CA
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735CA#FFFFFF#000000##FFFFFF
##5735CA1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004FC7
Tritanopia (blue-blind)
#1C5E7D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5735ca;
/* rgb */ color: rgb(87, 53, 202);
/* oklch */ color: oklch(46.9% 0.214 285.1);
Tailwind
colors: {
  custom: {
    50: '#9370db',
    500: '#5735ca',
    950: '#000000',
  },
}
SCSS
$custom: #5735ca;
$custom-light: #9370db;
$custom-dark: #000000;
JSON
{
  "hex": "#5735ca",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 253.691,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.46868,
    "c": 0.21428,
    "h": 285.1
  },
  "luminance": 0.08837
}

Semantic roles & 50–950 ramp

primary
#5735CA
secondary
#C0CF8C
accent
#E246BE
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5735CA

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

Preview Lab → · Contrast checker → · Palette generator →

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