#5733C3#5733C3

#5733C3 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.0% C 0.208 H 286.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5733C3
RGBrgb(87, 51, 195)
HSLhsl(255, 59%, 48%)
HSVhsv(255, 74%, 76%)
CMYKcmyk(55.4%, 73.8%, 0%, 23.5%)
CIE-LABlab(34.67, 51.58, -69.41)
CIE-LCHlch(34.67, 86.48, 306.61°)
OKLaboklab(45.97% 0.0588 -0.1997)
OKLCHoklch(45.97% 0.208 286.4)
XYZxyz(14.9617, 8.3332, 52.4393)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5733C3 #9FC333
analogous
#3357C3 #5733C3 #9F33C3
triadic
#5733C3 #C35733 #33C357
tetradic
#5733C3 #C33357 #9FC333 #33C39F
square
#5733C3 #C33357 #9FC333 #33C39F
split-complementary
#5733C3 #C39F33 #57C333
monochromatic
#2C1A62 #412692 #5733C3 #7C5ED5 #A38FE2

Accessibility & contrast

On white

7.87
#5733C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5733C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5733C3
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5733C3#FFFFFF#000000##FFFFFF
##5733C31.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C7
Deuteranopia (green-blind)
#004DC0
Tritanopia (blue-blind)
#265B78
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5733c3;
/* rgb */ color: rgb(87, 51, 195);
/* oklch */ color: oklch(46.0% 0.208 286.4);
Tailwind
colors: {
  custom: {
    50: '#926fd6',
    500: '#5733c3',
    950: '#000000',
  },
}
SCSS
$custom: #5733c3;
$custom-light: #926fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5733c3",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 195
  },
  "hsl": {
    "h": 255,
    "s": 58.537,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45968,
    "c": 0.20823,
    "h": 286.4
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

primary
#5733C3
secondary
#BBCC86
accent
#E246BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5733C3

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

Preview Lab → · Contrast checker → · Palette generator →

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