#5933EF#5933EF

#5933EF is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.4% C 0.257 H 281.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5933EF
RGBrgb(89, 51, 239)
HSLhsl(252, 85%, 57%)
HSVhsv(252, 79%, 94%)
CMYKcmyk(62.8%, 78.7%, 0%, 6.3%)
CIE-LABlab(39.11, 64.15, -87.40)
CIE-LCHlch(39.11, 108.42, 306.28°)
OKLaboklab(50.39% 0.0499 -0.2522)
OKLCHoklch(50.39% 0.257 281.2)
XYZxyz(20.8787, 10.7219, 82.6139)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5933EF #C9EF33
analogous
#336BEF #5933EF #B733EF
triadic
#5933EF #EF5933 #33EF59
tetradic
#5933EF #EF336B #C9EF33 #33EFB7
square
#5933EF #EF336B #C9EF33 #33EFB7
split-complementary
#5933EF #EFB733 #6BEF33
monochromatic
#290C9B #3811D4 #5933EF #876CF3 #B5A4F8

Accessibility & contrast

On white

6.68
#5933EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5933EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5933EF
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5933EF#FFFFFF#000000##FFFFFF
##5933EF1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062F4
Deuteranopia (green-blind)
#0055EC
Tritanopia (blue-blind)
#006C92
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5933ef;
/* rgb */ color: rgb(89, 51, 239);
/* oklch */ color: oklch(50.4% 0.257 281.2);
Tailwind
colors: {
  custom: {
    50: '#9a71f6',
    500: '#5933ef',
    950: '#000000',
  },
}
SCSS
$custom: #5933ef;
$custom-light: #9a71f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5933ef",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 239
  },
  "hsl": {
    "h": 252.128,
    "s": 85.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50393,
    "c": 0.25711,
    "h": 281.2
  },
  "luminance": 0.10723
}

Semantic roles & 50–950 ramp

primary
#5933EF
secondary
#D6E599
accent
#FC2CD2
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100817
muted
#7F7B85

Preview Lab

Preview with #5933EF

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

Preview Lab → · Contrast checker → · Palette generator →

#5933EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva