#5735B7#5735B7

#5735B7 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.192 H 288.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#5735B7
RGBrgb(87, 53, 183)
HSLhsl(256, 55%, 46%)
HSVhsv(256, 71%, 72%)
CMYKcmyk(52.5%, 71%, 0%, 28.2%)
CIE-LABlab(33.96, 47.11, -63.50)
CIE-LCHlch(33.96, 79.06, 306.57°)
OKLaboklab(45.14% 0.0598 -0.1824)
OKLCHoklch(45.14% 0.192 288.2)
XYZxyz(13.7483, 7.9907, 45.6085)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735B7 #95B735
analogous
#3554B7 #5735B7 #9835B7
triadic
#5735B7 #B75735 #35B757
tetradic
#5735B7 #B73554 #95B735 #35B798
square
#5735B7 #B73554 #95B735 #35B798
split-complementary
#5735B7 #B79835 #54B735
monochromatic
#2A1A58 #402788 #5735B7 #795ACF #9F89DD

Accessibility & contrast

On white

8.08
#5735B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5735B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5735B7
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735B7#FFFFFF#000000##FFFFFF
##5735B71.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#004CB4
Tritanopia (blue-blind)
#325772
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5735b7;
/* rgb */ color: rgb(87, 53, 183);
/* oklch */ color: oklch(45.1% 0.192 288.2);
Tailwind
colors: {
  custom: {
    50: '#906fce',
    500: '#5735b7',
    950: '#000000',
  },
}
SCSS
$custom: #5735b7;
$custom-light: #906fce;
$custom-dark: #000000;
JSON
{
  "hex": "#5735b7",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 255.692,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45141,
    "c": 0.192,
    "h": 288.2
  },
  "luminance": 0.07991
}

Semantic roles & 50–950 ramp

primary
#5735B7
secondary
#B5C781
accent
#DE49B7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5735B7

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

Preview Lab → · Contrast checker → · Palette generator →

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