#5735C7#5735C7

#5735C7 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.6% C 0.211 H 285.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#5735C7
RGBrgb(87, 53, 199)
HSLhsl(254, 58%, 49%)
HSVhsv(254, 73%, 78%)
CMYKcmyk(56.3%, 73.4%, 0%, 22%)
CIE-LABlab(35.39, 51.71, -70.56)
CIE-LCHlch(35.39, 87.48, 306.24°)
OKLaboklab(46.59% 0.0564 -0.2031)
OKLCHoklch(46.59% 0.211 285.5)
XYZxyz(15.5093, 8.6951, 54.8828)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735C7 #A5C735
analogous
#355CC7 #5735C7 #A035C7
triadic
#5735C7 #C75735 #35C757
tetradic
#5735C7 #C7355C #A5C735 #35C7A0
square
#5735C7 #C7355C #A5C735 #35C7A0
split-complementary
#5735C7 #C7A035 #5CC735
monochromatic
#2D1B66 #422897 #5735C7 #7E64D6 #A694E2

Accessibility & contrast

On white

7.67
#5735C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5735C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5735C7
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735C7#FFFFFF#000000##FFFFFF
##5735C71.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#004FC4
Tritanopia (blue-blind)
#215D7B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5735c7;
/* rgb */ color: rgb(87, 53, 199);
/* oklch */ color: oklch(46.6% 0.211 285.5);
Tailwind
colors: {
  custom: {
    50: '#9270d9',
    500: '#5735c7',
    950: '#000000',
  },
}
SCSS
$custom: #5735c7;
$custom-light: #9270d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5735c7",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 253.973,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46589,
    "c": 0.21082,
    "h": 285.5
  },
  "luminance": 0.08696
}

Semantic roles & 50–950 ramp

primary
#5735C7
secondary
#BECE8A
accent
#E147BD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5735C7

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

Preview Lab → · Contrast checker → · Palette generator →

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