#5332C7#5332C7

#5332C7 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.9% C 0.214 H 284.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5332C7
RGBrgb(83, 50, 199)
HSLhsl(253, 60%, 49%)
HSVhsv(253, 75%, 78%)
CMYKcmyk(58.3%, 74.9%, 0%, 22%)
CIE-LABlab(34.48, 52.68, -72.07)
CIE-LCHlch(34.48, 89.27, 306.17°)
OKLaboklab(45.86% 0.0528 -0.2076)
OKLCHoklch(45.86% 0.214 284.3)
XYZxyz(15.0135, 8.2428, 54.8216)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5332C7 #A6C732
analogous
#325CC7 #5332C7 #9E32C7
triadic
#5332C7 #C75332 #32C753
tetradic
#5332C7 #C7325C #A6C732 #32C79E
square
#5332C7 #C7325C #A6C732 #32C79E
split-complementary
#5332C7 #C79E32 #5CC732
monochromatic
#2A1965 #3F2696 #5332C7 #7A5FD7 #A390E3

Accessibility & contrast

On white

7.93
#5332C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5332C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5332C7
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5332C7#FFFFFF#000000##FFFFFF
##5332C71.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#004CC4
Tritanopia (blue-blind)
#0D5C7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5332c7;
/* rgb */ color: rgb(83, 50, 199);
/* oklch */ color: oklch(45.9% 0.214 284.3);
Tailwind
colors: {
  custom: {
    50: '#906ed9',
    500: '#5332c7',
    950: '#000000',
  },
}
SCSS
$custom: #5332c7;
$custom-light: #906ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#5332c7",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 253.289,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4586,
    "c": 0.21424,
    "h": 284.3
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#5332C7
secondary
#BECE87
accent
#E345C0
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5332C7

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

Preview Lab → · Contrast checker → · Palette generator →

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