#5735BC#5735BC

#5735BC is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.198 H 287.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5735BC
RGBrgb(87, 53, 188)
HSLhsl(255, 56%, 47%)
HSVhsv(255, 72%, 74%)
CMYKcmyk(53.7%, 71.8%, 0%, 26.3%)
CIE-LABlab(34.40, 48.55, -65.74)
CIE-LCHlch(34.40, 81.72, 306.45°)
OKLaboklab(45.59% 0.0588 -0.189)
OKLCHoklch(45.59% 0.198 287.3)
XYZxyz(14.2780, 8.2026, 48.3981)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735BC #9ABC35
analogous
#3557BC #5735BC #9B35BC
triadic
#5735BC #BC5735 #35BC57
tetradic
#5735BC #BC3557 #9ABC35 #35BC9B
square
#5735BC #BC3557 #9ABC35 #35BC9B
split-complementary
#5735BC #BC9B35 #57BC35
monochromatic
#2B1A5D #41288C #5735BC #7A5DD1 #A18DDF

Accessibility & contrast

On white

7.95
#5735BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5735BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5735BC
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735BC#FFFFFF#000000##FFFFFF
##5735BC1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#2E5975
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5735bc;
/* rgb */ color: rgb(87, 53, 188);
/* oklch */ color: oklch(45.6% 0.198 287.3);
Tailwind
colors: {
  custom: {
    50: '#916fd1',
    500: '#5735bc',
    950: '#000000',
  },
}
SCSS
$custom: #5735bc;
$custom-light: #916fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5735bc",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 255.111,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45587,
    "c": 0.19793,
    "h": 287.3
  },
  "luminance": 0.08203
}

Semantic roles & 50–950 ramp

primary
#5735BC
secondary
#B8C984
accent
#DF48B9
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5735BC

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

Preview Lab → · Contrast checker → · Palette generator →

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