#5332E6#5332E6

#5332E6 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.9% C 0.249 H 280.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5332E6
RGBrgb(83, 50, 230)
HSLhsl(251, 78%, 55%)
HSVhsv(251, 78%, 90%)
CMYKcmyk(63.9%, 78.3%, 0%, 9.8%)
CIE-LABlab(37.54, 61.51, -84.90)
CIE-LCHlch(37.54, 104.84, 305.92°)
OKLaboklab(48.91% 0.0445 -0.2451)
OKLCHoklch(48.91% 0.249 280.3)
XYZxyz(18.9863, 9.8319, 75.7448)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5332E6 #C5E632
analogous
#326BE6 #5332E6 #AD32E6
triadic
#5332E6 #E65332 #32E653
tetradic
#5332E6 #E6326B #C5E632 #32E6AD
square
#5332E6 #E6326B #C5E632 #32E6AD
split-complementary
#5332E6 #E6AD32 #6BE632
monochromatic
#28118C #3718C3 #5332E6 #8169ED #AF9FF3

Accessibility & contrast

On white

7.08
#5332E6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5332E6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5332E6
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5332E6#FFFFFF#000000##FFFFFF
##5332E61.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FEB
Deuteranopia (green-blind)
#0051E3
Tritanopia (blue-blind)
#00688C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5332e6;
/* rgb */ color: rgb(83, 50, 230);
/* oklch */ color: oklch(48.9% 0.249 280.3);
Tailwind
colors: {
  custom: {
    50: '#966fef',
    500: '#5332e6',
    950: '#000000',
  },
}
SCSS
$custom: #5332e6;
$custom-light: #966fef;
$custom-dark: #000000;
JSON
{
  "hex": "#5332e6",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 230
  },
  "hsl": {
    "h": 251,
    "s": 78.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.48908,
    "c": 0.2491,
    "h": 280.3
  },
  "luminance": 0.09833
}

Semantic roles & 50–950 ramp

primary
#5332E6
secondary
#D2E094
accent
#F533D1
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0817
muted
#7F7B85

Preview Lab

Preview with #5332E6

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

Preview Lab → · Contrast checker → · Palette generator →

#5332E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva