#5733D7#5733D7

#5733D7 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.231 H 283.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#5733D7
RGBrgb(87, 51, 215)
HSLhsl(253, 67%, 52%)
HSVhsv(253, 76%, 84%)
CMYKcmyk(59.5%, 76.3%, 0%, 15.7%)
CIE-LABlab(36.55, 57.25, -77.93)
CIE-LCHlch(36.55, 96.70, 306.30°)
OKLaboklab(47.86% 0.0537 -0.2246)
OKLCHoklch(47.86% 0.231 283.5)
XYZxyz(17.3763, 9.2990, 65.1560)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5733D7 #B3D733
analogous
#3361D7 #5733D7 #A933D7
triadic
#5733D7 #D75733 #33D757
tetradic
#5733D7 #D73361 #B3D733 #33D7A9
square
#5733D7 #D73361 #B3D733 #33D7A9
split-complementary
#5733D7 #D7A933 #61D733
monochromatic
#2D1878 #4022AB #5733D7 #8166E1 #AB99EB

Accessibility & contrast

On white

7.34
#5733D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5733D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5733D7
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5733D7#FFFFFF#000000##FFFFFF
##5733D71.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDC
Deuteranopia (green-blind)
#0050D4
Tritanopia (blue-blind)
#006384
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5733d7;
/* rgb */ color: rgb(87, 51, 215);
/* oklch */ color: oklch(47.9% 0.231 283.5);
Tailwind
colors: {
  custom: {
    50: '#956fe5',
    500: '#5733d7',
    950: '#000000',
  },
}
SCSS
$custom: #5733d7;
$custom-light: #956fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#5733d7",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 215
  },
  "hsl": {
    "h": 253.171,
    "s": 67.213,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47862,
    "c": 0.23099,
    "h": 283.5
  },
  "luminance": 0.093
}

Semantic roles & 50–950 ramp

primary
#5733D7
secondary
#C7D78F
accent
#EA3EC4
background
#FAF6FE
surface
#F3ECFC
border
#CDC7D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5733D7

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

Preview Lab → · Contrast checker → · Palette generator →

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