#5735DC#5735DC

#5735DC is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.235 H 282.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5735DC
RGBrgb(87, 53, 220)
HSLhsl(252, 70%, 54%)
HSVhsv(252, 76%, 86%)
CMYKcmyk(60.5%, 75.9%, 0%, 13.7%)
CIE-LABlab(37.37, 57.72, -79.46)
CIE-LCHlch(37.37, 98.21, 305.99°)
OKLaboklab(48.58% 0.0512 -0.2291)
OKLCHoklch(48.58% 0.235 282.6)
XYZxyz(18.1178, 9.7385, 68.6213)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735DC #BADC35
analogous
#3566DC #5735DC #AB35DC
triadic
#5735DC #DC5735 #35DC57
tetradic
#5735DC #DC3566 #BADC35 #35DCAB
square
#5735DC #DC3566 #BADC35 #35DCAB
split-complementary
#5735DC #DCAB35 #66DC35
monochromatic
#2C1680 #3E1FB5 #5735DC #8269E5 #AE9DEE

Accessibility & contrast

On white

7.12
#5735DC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5735DC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5735DC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735DC#FFFFFF#000000##FFFFFF
##5735DC1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE1
Deuteranopia (green-blind)
#0052D9
Tritanopia (blue-blind)
#006587
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5735dc;
/* rgb */ color: rgb(87, 53, 220);
/* oklch */ color: oklch(48.6% 0.235 282.6);
Tailwind
colors: {
  custom: {
    50: '#9671e8',
    500: '#5735dc',
    950: '#000000',
  },
}
SCSS
$custom: #5735dc;
$custom-light: #9671e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5735dc",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 220
  },
  "hsl": {
    "h": 252.216,
    "s": 70.464,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48578,
    "c": 0.23477,
    "h": 282.6
  },
  "luminance": 0.0974
}

Semantic roles & 50–950 ramp

primary
#5735DC
secondary
#CCDA93
accent
#ED3BC9
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5735DC

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

Preview Lab → · Contrast checker → · Palette generator →

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