#5332C2#5332C2

#5332C2 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.208 H 285.0°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#5332C2
RGBrgb(83, 50, 194)
HSLhsl(254, 59%, 48%)
HSVhsv(254, 74%, 76%)
CMYKcmyk(57.2%, 74.2%, 0%, 23.9%)
CIE-LABlab(34.01, 51.24, -69.92)
CIE-LCHlch(34.01, 86.68, 306.24°)
OKLaboklab(45.39% 0.054 -0.2013)
OKLCHoklch(45.39% 0.208 285)
XYZxyz(14.4425, 8.0144, 51.8144)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5332C2 #A1C232
analogous
#3259C2 #5332C2 #9B32C2
triadic
#5332C2 #C25332 #32C253
tetradic
#5332C2 #C23259 #A1C232 #32C29B
square
#5332C2 #C23259 #A1C232 #32C29B
split-complementary
#5332C2 #C29B32 #59C232
monochromatic
#291961 #3E2591 #5332C2 #785CD5 #A08DE2

Accessibility & contrast

On white

8.07
#5332C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5332C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5332C2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5332C2#FFFFFF#000000##FFFFFF
##5332C21.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#004BBF
Tritanopia (blue-blind)
#195A78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5332c2;
/* rgb */ color: rgb(83, 50, 194);
/* oklch */ color: oklch(45.4% 0.208 285.0);
Tailwind
colors: {
  custom: {
    50: '#906ed6',
    500: '#5332c2',
    950: '#000000',
  },
}
SCSS
$custom: #5332c2;
$custom-light: #906ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#5332c2",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 253.75,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45386,
    "c": 0.20846,
    "h": 285
  },
  "luminance": 0.08015
}

Semantic roles & 50–950 ramp

primary
#5332C2
secondary
#BBCC84
accent
#E246BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5332C2

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

Preview Lab → · Contrast checker → · Palette generator →

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