#5735BB#5735BB

#5735BB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.197 H 287.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5735BB
RGBrgb(87, 53, 187)
HSLhsl(255, 56%, 47%)
HSVhsv(255, 72%, 73%)
CMYKcmyk(53.5%, 71.7%, 0%, 26.7%)
CIE-LABlab(34.31, 48.26, -65.29)
CIE-LCHlch(34.31, 81.19, 306.47°)
OKLaboklab(45.5% 0.059 -0.1877)
OKLCHoklch(45.5% 0.197 287.5)
XYZxyz(14.1706, 8.1596, 47.8324)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735BB #99BB35
analogous
#3556BB #5735BB #9A35BB
triadic
#5735BB #BB5735 #35BB57
tetradic
#5735BB #BB3556 #99BB35 #35BB9A
square
#5735BB #BB3556 #99BB35 #35BB9A
split-complementary
#5735BB #BB9A35 #56BB35
monochromatic
#2B1A5C #41278B #5735BB #7A5CD1 #A18CDE

Accessibility & contrast

On white

7.98
#5735BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5735BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5735BB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735BB#FFFFFF#000000##FFFFFF
##5735BB1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#2F5974
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5735bb;
/* rgb */ color: rgb(87, 53, 187);
/* oklch */ color: oklch(45.5% 0.197 287.5);
Tailwind
colors: {
  custom: {
    50: '#906fd1',
    500: '#5735bb',
    950: '#000000',
  },
}
SCSS
$custom: #5735bb;
$custom-light: #906fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5735bb",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 255.224,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45497,
    "c": 0.19675,
    "h": 287.5
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#5735BB
secondary
#B7C983
accent
#DF49B9
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5735BB

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

Preview Lab → · Contrast checker → · Palette generator →

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