#5933D4#5933D4

#5933D4 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.227 H 284.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5933D4
RGBrgb(89, 51, 212)
HSLhsl(254, 65%, 52%)
HSVhsv(254, 76%, 83%)
CMYKcmyk(58%, 75.9%, 0%, 16.9%)
CIE-LABlab(36.45, 56.65, -76.36)
CIE-LCHlch(36.45, 95.08, 306.57°)
OKLaboklab(47.75% 0.0574 -0.22)
OKLCHoklch(47.75% 0.227 284.6)
XYZxyz(17.1837, 9.2439, 63.1534)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5933D4 #AED433
analogous
#335ED4 #5933D4 #A933D4
triadic
#5933D4 #D45933 #33D459
tetradic
#5933D4 #D4335E #AED433 #33D4A9
square
#5933D4 #D4335E #AED433 #33D4A9
split-complementary
#5933D4 #D4A933 #5ED433
monochromatic
#2E1874 #4223A7 #5933D4 #8266DF #AB98E9

Accessibility & contrast

On white

7.37
#5933D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5933D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5933D4
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5933D4#FFFFFF#000000##FFFFFF
##5933D41.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD9
Deuteranopia (green-blind)
#0051D1
Tritanopia (blue-blind)
#106182
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5933d4;
/* rgb */ color: rgb(89, 51, 212);
/* oklch */ color: oklch(47.7% 0.227 284.6);
Tailwind
colors: {
  custom: {
    50: '#956fe3',
    500: '#5933d4',
    950: '#000000',
  },
}
SCSS
$custom: #5933d4;
$custom-light: #956fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#5933d4",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 212
  },
  "hsl": {
    "h": 254.161,
    "s": 65.182,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47747,
    "c": 0.22739,
    "h": 284.6
  },
  "luminance": 0.09245
}

Semantic roles & 50–950 ramp

primary
#5933D4
secondary
#C4D58E
accent
#E840C0
background
#FAF6FE
surface
#F3ECFC
border
#CDC7D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5933D4

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

Preview Lab → · Contrast checker → · Palette generator →

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