#5733C9#5733C9

#5733C9 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.5% C 0.215 H 285.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#5733C9
RGBrgb(87, 51, 201)
HSLhsl(254, 60%, 49%)
HSVhsv(254, 75%, 79%)
CMYKcmyk(56.7%, 74.6%, 0%, 21.2%)
CIE-LABlab(35.22, 53.29, -72.01)
CIE-LCHlch(35.22, 89.58, 306.50°)
OKLaboklab(46.53% 0.0574 -0.2073)
OKLCHoklch(46.53% 0.215 285.5)
XYZxyz(15.6537, 8.6100, 56.0841)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5733C9 #A5C933
analogous
#335AC9 #5733C9 #A233C9
triadic
#5733C9 #C95733 #33C957
tetradic
#5733C9 #C9335A #A5C933 #33C9A2
square
#5733C9 #C9335A #A5C933 #33C9A2
split-complementary
#5733C9 #C9A233 #5AC933
monochromatic
#2D1A67 #422798 #5733C9 #7E62D7 #A693E4

Accessibility & contrast

On white

7.71
#5733C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5733C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5733C9
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5733C9#FFFFFF#000000##FFFFFF
##5733C91.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#004EC6
Tritanopia (blue-blind)
#1E5D7C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5733c9;
/* rgb */ color: rgb(87, 51, 201);
/* oklch */ color: oklch(46.5% 0.215 285.5);
Tailwind
colors: {
  custom: {
    50: '#936fdb',
    500: '#5733c9',
    950: '#000000',
  },
}
SCSS
$custom: #5733c9;
$custom-light: #936fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5733c9",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 201
  },
  "hsl": {
    "h": 254.4,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46527,
    "c": 0.21513,
    "h": 285.5
  },
  "luminance": 0.08611
}

Semantic roles & 50–950 ramp

primary
#5733C9
secondary
#BECF89
accent
#E345BD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5733C9

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

Preview Lab → · Contrast checker → · Palette generator →

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