#5735BA#5735BA

#5735BA is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.196 H 287.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#5735BA
RGBrgb(87, 53, 186)
HSLhsl(255, 56%, 47%)
HSVhsv(255, 72%, 73%)
CMYKcmyk(53.2%, 71.5%, 0%, 27.1%)
CIE-LABlab(34.23, 47.97, -64.84)
CIE-LCHlch(34.23, 80.66, 306.49°)
OKLaboklab(45.41% 0.0592 -0.1864)
OKLCHoklch(45.41% 0.196 287.6)
XYZxyz(14.0639, 8.1169, 47.2705)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735BA #98BA35
analogous
#3556BA #5735BA #9A35BA
triadic
#5735BA #BA5735 #35BA57
tetradic
#5735BA #BA3556 #98BA35 #35BA9A
square
#5735BA #BA3556 #98BA35 #35BA9A
split-complementary
#5735BA #BA9A35 #56BA35
monochromatic
#2A1A5B #41278A #5735BA #7A5CD0 #A08BDE

Accessibility & contrast

On white

8.00
#5735BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5735BA
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735BA#FFFFFF#000000##FFFFFF
##5735BA1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#305874
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5735ba;
/* rgb */ color: rgb(87, 53, 186);
/* oklch */ color: oklch(45.4% 0.196 287.6);
Tailwind
colors: {
  custom: {
    50: '#906fd0',
    500: '#5735ba',
    950: '#000000',
  },
}
SCSS
$custom: #5735ba;
$custom-light: #906fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5735ba",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 255.338,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45408,
    "c": 0.19556,
    "h": 287.6
  },
  "luminance": 0.08118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5735BA

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

Preview Lab → · Contrast checker → · Palette generator →

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