#5933E2#5933E2

#5933E2 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.243 H 282.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5933E2
RGBrgb(89, 51, 226)
HSLhsl(253, 75%, 54%)
HSVhsv(253, 77%, 89%)
CMYKcmyk(60.6%, 77.4%, 0%, 11.4%)
CIE-LABlab(37.81, 60.56, -82.16)
CIE-LCHlch(37.81, 102.07, 306.39°)
OKLaboklab(49.1% 0.0536 -0.2369)
OKLCHoklch(49.1% 0.243 282.7)
XYZxyz(19.0268, 9.9812, 72.8607)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5933E2 #BCE233
analogous
#3364E2 #5933E2 #B133E2
triadic
#5933E2 #E25933 #33E259
tetradic
#5933E2 #E23364 #BCE233 #33E2B1
square
#5933E2 #E23364 #BCE233 #33E2B1
split-complementary
#5933E2 #E2B133 #64E233
monochromatic
#2C1387 #3E1BBD #5933E2 #8569EA #B09EF1

Accessibility & contrast

On white

7.01
#5933E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5933E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5933E2
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5933E2#FFFFFF#000000##FFFFFF
##5933E21.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE7
Deuteranopia (green-blind)
#0053DF
Tritanopia (blue-blind)
#00678A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5933e2;
/* rgb */ color: rgb(89, 51, 226);
/* oklch */ color: oklch(49.1% 0.243 282.7);
Tailwind
colors: {
  custom: {
    50: '#9870ed',
    500: '#5933e2',
    950: '#000000',
  },
}
SCSS
$custom: #5933e2;
$custom-light: #9870ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5933e2",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 226
  },
  "hsl": {
    "h": 253.029,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49103,
    "c": 0.24292,
    "h": 282.7
  },
  "luminance": 0.09982
}

Semantic roles & 50–950 ramp

primary
#5933E2
secondary
#CDDE93
accent
#F236C9
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5933E2

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

Preview Lab → · Contrast checker → · Palette generator →

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