#5735B9#5735B9

#5735B9 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.194 H 287.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#5735B9
RGBrgb(87, 53, 185)
HSLhsl(255, 55%, 47%)
HSVhsv(255, 71%, 73%)
CMYKcmyk(53%, 71.4%, 0%, 27.5%)
CIE-LABlab(34.14, 47.68, -64.40)
CIE-LCHlch(34.14, 80.13, 306.52°)
OKLaboklab(45.32% 0.0594 -0.1851)
OKLCHoklch(45.32% 0.194 287.8)
XYZxyz(13.9580, 8.0745, 46.7126)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735B9 #97B935
analogous
#3555B9 #5735B9 #9935B9
triadic
#5735B9 #B95735 #35B957
tetradic
#5735B9 #B93555 #97B935 #35B999
square
#5735B9 #B93555 #97B935 #35B999
split-complementary
#5735B9 #B99935 #55B935
monochromatic
#2A1A5A #412789 #5735B9 #795BD0 #A08BDE

Accessibility & contrast

On white

8.03
#5735B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5735B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5735B9
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735B9#FFFFFF#000000##FFFFFF
##5735B91.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#004DB6
Tritanopia (blue-blind)
#315873
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5735b9;
/* rgb */ color: rgb(87, 53, 185);
/* oklch */ color: oklch(45.3% 0.194 287.8);
Tailwind
colors: {
  custom: {
    50: '#906fcf',
    500: '#5735b9',
    950: '#000000',
  },
}
SCSS
$custom: #5735b9;
$custom-light: #906fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#5735b9",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 255.455,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45319,
    "c": 0.19438,
    "h": 287.8
  },
  "luminance": 0.08075
}

Semantic roles & 50–950 ramp

primary
#5735B9
secondary
#B6C882
accent
#DF49B8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5735B9

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

Preview Lab → · Contrast checker → · Palette generator →

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