#5733BB#5733BB

#5733BB is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.199 H 287.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#5733BB
RGBrgb(87, 51, 187)
HSLhsl(256, 57%, 47%)
HSVhsv(256, 73%, 73%)
CMYKcmyk(53.5%, 72.7%, 0%, 26.7%)
CIE-LABlab(33.94, 49.30, -65.90)
CIE-LCHlch(33.94, 82.29, 306.80°)
OKLaboklab(45.24% 0.0607 -0.1894)
OKLCHoklch(45.24% 0.199 287.8)
XYZxyz(14.0813, 7.9810, 47.8026)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5733BB #97BB33
analogous
#3353BB #5733BB #9B33BB
triadic
#5733BB #BB5733 #33BB57
tetradic
#5733BB #BB3353 #97BB33 #33BB9B
square
#5733BB #BB3353 #97BB33 #33BB9B
split-complementary
#5733BB #BB9B33 #53BB33
monochromatic
#2A195B #41268B #5733BB #7959D2 #A089DF

Accessibility & contrast

On white

8.09
#5733BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5733BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5733BB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5733BB#FFFFFF#000000##FFFFFF
##5733BB1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#2F5874
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5733bb;
/* rgb */ color: rgb(87, 51, 187);
/* oklch */ color: oklch(45.2% 0.199 287.8);
Tailwind
colors: {
  custom: {
    50: '#906ed1',
    500: '#5733bb',
    950: '#000000',
  },
}
SCSS
$custom: #5733bb;
$custom-light: #906ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5733bb",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 255.882,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45235,
    "c": 0.19893,
    "h": 287.8
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#5733BB
secondary
#B6C981
accent
#E047B8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5733BB

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

Preview Lab → · Contrast checker → · Palette generator →

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