#5733C5#5733C5

#5733C5 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.2% C 0.211 H 286.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5733C5
RGBrgb(87, 51, 197)
HSLhsl(255, 59%, 49%)
HSVhsv(255, 74%, 77%)
CMYKcmyk(55.8%, 74.1%, 0%, 22.7%)
CIE-LABlab(34.85, 52.15, -70.28)
CIE-LCHlch(34.85, 87.51, 306.57°)
OKLaboklab(46.15% 0.0584 -0.2023)
OKLCHoklch(46.15% 0.211 286.1)
XYZxyz(15.1893, 8.4242, 53.6382)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5733C5 #A1C533
analogous
#3358C5 #5733C5 #A033C5
triadic
#5733C5 #C55733 #33C557
tetradic
#5733C5 #C53358 #A1C533 #33C5A0
square
#5733C5 #C53358 #A1C533 #33C5A0
split-complementary
#5733C5 #C5A033 #58C533
monochromatic
#2C1A64 #422694 #5733C5 #7D5FD6 #A490E2

Accessibility & contrast

On white

7.82
#5733C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5733C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5733C5
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5733C5#FFFFFF#000000##FFFFFF
##5733C51.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#004EC2
Tritanopia (blue-blind)
#245B7A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5733c5;
/* rgb */ color: rgb(87, 51, 197);
/* oklch */ color: oklch(46.2% 0.211 286.1);
Tailwind
colors: {
  custom: {
    50: '#926fd8',
    500: '#5733c5',
    950: '#000000',
  },
}
SCSS
$custom: #5733c5;
$custom-light: #926fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#5733c5",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 197
  },
  "hsl": {
    "h": 254.795,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46153,
    "c": 0.21054,
    "h": 286.1
  },
  "luminance": 0.08425
}

Semantic roles & 50–950 ramp

primary
#5733C5
secondary
#BCCD87
accent
#E246BC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5733C5

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

Preview Lab → · Contrast checker → · Palette generator →

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