#5733E2#5733E2

#5733E2 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.9% C 0.243 H 282.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5733E2
RGBrgb(87, 51, 226)
HSLhsl(252, 75%, 54%)
HSVhsv(252, 77%, 89%)
CMYKcmyk(61.5%, 77.4%, 0%, 11.4%)
CIE-LABlab(37.63, 60.34, -82.46)
CIE-LCHlch(37.63, 102.18, 306.20°)
OKLaboklab(48.94% 0.0507 -0.2379)
OKLCHoklch(48.94% 0.243 282)
XYZxyz(18.8375, 9.8835, 72.8518)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5733E2 #BEE233
analogous
#3367E2 #5733E2 #AF33E2
triadic
#5733E2 #E25733 #33E257
tetradic
#5733E2 #E23367 #BEE233 #33E2AF
square
#5733E2 #E23367 #BEE233 #33E2AF
split-complementary
#5733E2 #E2AF33 #67E233
monochromatic
#2B1387 #3C1BBD #5733E2 #8369EA #AF9EF1

Accessibility & contrast

On white

7.05
#5733E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5733E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5733E2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5733E2#FFFFFF#000000##FFFFFF
##5733E21.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE7
Deuteranopia (green-blind)
#0052DF
Tritanopia (blue-blind)
#00678A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5733e2;
/* rgb */ color: rgb(87, 51, 226);
/* oklch */ color: oklch(48.9% 0.243 282.0);
Tailwind
colors: {
  custom: {
    50: '#9770ed',
    500: '#5733e2',
    950: '#000000',
  },
}
SCSS
$custom: #5733e2;
$custom-light: #9770ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5733e2",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 226
  },
  "hsl": {
    "h": 252.343,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48938,
    "c": 0.24321,
    "h": 282
  },
  "luminance": 0.09885
}

Semantic roles & 50–950 ramp

primary
#5733E2
secondary
#CEDE93
accent
#F236CB
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5733E2

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

Preview Lab → · Contrast checker → · Palette generator →

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