#5735C6#5735C6

#5735C6 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.5% C 0.210 H 285.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5735C6
RGBrgb(87, 53, 198)
HSLhsl(254, 58%, 49%)
HSVhsv(254, 73%, 78%)
CMYKcmyk(56.1%, 73.2%, 0%, 22.4%)
CIE-LABlab(35.30, 51.43, -70.13)
CIE-LCHlch(35.30, 86.97, 306.25°)
OKLaboklab(46.5% 0.0566 -0.2019)
OKLCHoklch(46.5% 0.21 285.7)
XYZxyz(15.3935, 8.6488, 54.2734)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735C6 #A4C635
analogous
#355CC6 #5735C6 #A035C6
triadic
#5735C6 #C65735 #35C657
tetradic
#5735C6 #C6355C #A4C635 #35C6A0
square
#5735C6 #C6355C #A4C635 #35C6A0
split-complementary
#5735C6 #C6A035 #5CC635
monochromatic
#2D1B65 #422896 #5735C6 #7E63D5 #A693E2

Accessibility & contrast

On white

7.69
#5735C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5735C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5735C6
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735C6#FFFFFF#000000##FFFFFF
##5735C61.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CA
Deuteranopia (green-blind)
#004FC3
Tritanopia (blue-blind)
#225D7B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5735c6;
/* rgb */ color: rgb(87, 53, 198);
/* oklch */ color: oklch(46.5% 0.210 285.7);
Tailwind
colors: {
  custom: {
    50: '#9270d8',
    500: '#5735c6',
    950: '#000000',
  },
}
SCSS
$custom: #5735c6;
$custom-light: #9270d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5735c6",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 254.069,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46497,
    "c": 0.20965,
    "h": 285.7
  },
  "luminance": 0.0865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5735C6

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

Preview Lab → · Contrast checker → · Palette generator →

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