#5733C2#5733C2

#5733C2 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.9% C 0.207 H 286.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5733C2
RGBrgb(87, 51, 194)
HSLhsl(255, 58%, 48%)
HSVhsv(255, 74%, 76%)
CMYKcmyk(55.2%, 73.7%, 0%, 23.9%)
CIE-LABlab(34.58, 51.29, -68.98)
CIE-LCHlch(34.58, 85.96, 306.64°)
OKLaboklab(45.88% 0.0591 -0.1985)
OKLCHoklch(45.88% 0.207 286.6)
XYZxyz(14.8490, 8.2881, 51.8458)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5733C2 #9EC233
analogous
#3356C2 #5733C2 #9E33C2
triadic
#5733C2 #C25733 #33C257
tetradic
#5733C2 #C23356 #9EC233 #33C29E
square
#5733C2 #C23356 #9EC233 #33C29E
split-complementary
#5733C2 #C29E33 #56C233
monochromatic
#2C1A61 #412692 #5733C2 #7C5ED5 #A38EE1

Accessibility & contrast

On white

7.90
#5733C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5733C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5733C2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5733C2#FFFFFF#000000##FFFFFF
##5733C21.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#004DBF
Tritanopia (blue-blind)
#275A78
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5733c2;
/* rgb */ color: rgb(87, 51, 194);
/* oklch */ color: oklch(45.9% 0.207 286.6);
Tailwind
colors: {
  custom: {
    50: '#926ed6',
    500: '#5733c2',
    950: '#000000',
  },
}
SCSS
$custom: #5733c2;
$custom-light: #926ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#5733c2",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 255.105,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45875,
    "c": 0.20708,
    "h": 286.6
  },
  "luminance": 0.08289
}

Semantic roles & 50–950 ramp

primary
#5733C2
secondary
#BACC85
accent
#E246BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5733C2

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

Preview Lab → · Contrast checker → · Palette generator →

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