#5330C2#5330C2

#5330C2 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.1% C 0.210 H 285.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#5330C2
RGBrgb(83, 48, 194)
HSLhsl(254, 60%, 47%)
HSVhsv(254, 75%, 76%)
CMYKcmyk(57.2%, 75.3%, 0%, 23.9%)
CIE-LABlab(33.66, 52.23, -70.49)
CIE-LCHlch(33.66, 87.74, 306.54°)
OKLaboklab(45.14% 0.0555 -0.203)
OKLCHoklch(45.14% 0.21 285.3)
XYZxyz(14.3589, 7.8471, 51.7865)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5330C2 #9FC230
analogous
#3056C2 #5330C2 #9C30C2
triadic
#5330C2 #C25330 #30C253
tetradic
#5330C2 #C23056 #9FC230 #30C29C
square
#5330C2 #C23056 #9FC230 #30C29C
split-complementary
#5330C2 #C29C30 #56C230
monochromatic
#291860 #3E2491 #5330C2 #7759D6 #9F8AE2

Accessibility & contrast

On white

8.17
#5330C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5330C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5330C2
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5330C2#FFFFFF#000000##FFFFFF
##5330C21.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#004BBF
Tritanopia (blue-blind)
#195977
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5330c2;
/* rgb */ color: rgb(83, 48, 194);
/* oklch */ color: oklch(45.1% 0.210 285.3);
Tailwind
colors: {
  custom: {
    50: '#906cd6',
    500: '#5330c2',
    950: '#000000',
  },
}
SCSS
$custom: #5330c2;
$custom-light: #906cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5330c2",
  "rgb": {
    "r": 83,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 254.384,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45139,
    "c": 0.21045,
    "h": 285.3
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#5330C2
secondary
#BACC82
accent
#E344BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5330C2

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

Preview Lab → · Contrast checker → · Palette generator →

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