#5733C6#5733C6

#5733C6 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.2% C 0.212 H 285.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#5733C6
RGBrgb(87, 51, 198)
HSLhsl(255, 59%, 49%)
HSVhsv(255, 74%, 78%)
CMYKcmyk(56.1%, 74.2%, 0%, 22.4%)
CIE-LABlab(34.94, 52.43, -70.71)
CIE-LCHlch(34.94, 88.03, 306.56°)
OKLaboklab(46.25% 0.0581 -0.2036)
OKLCHoklch(46.25% 0.212 285.9)
XYZxyz(15.3043, 8.4702, 54.2436)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5733C6 #A2C633
analogous
#3359C6 #5733C6 #A133C6
triadic
#5733C6 #C65733 #33C657
tetradic
#5733C6 #C63359 #A2C633 #33C6A1
square
#5733C6 #C63359 #A2C633 #33C6A1
split-complementary
#5733C6 #C6A133 #59C633
monochromatic
#2C1A65 #422695 #5733C6 #7D60D6 #A591E3

Accessibility & contrast

On white

7.79
#5733C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5733C6
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5733C6#FFFFFF#000000##FFFFFF
##5733C61.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#004EC3
Tritanopia (blue-blind)
#225C7A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5733c6;
/* rgb */ color: rgb(87, 51, 198);
/* oklch */ color: oklch(46.2% 0.212 285.9);
Tailwind
colors: {
  custom: {
    50: '#926fd8',
    500: '#5733c6',
    950: '#000000',
  },
}
SCSS
$custom: #5733c6;
$custom-light: #926fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#5733c6",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 198
  },
  "hsl": {
    "h": 254.694,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46246,
    "c": 0.21169,
    "h": 285.9
  },
  "luminance": 0.08471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5733C6

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

Preview Lab → · Contrast checker → · Palette generator →

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