#5329EF#5329EF

#5329EF is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 49.0% C 0.265 H 279.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5329EF
RGBrgb(83, 41, 239)
HSLhsl(253, 86%, 55%)
HSVhsv(253, 83%, 94%)
CMYKcmyk(65.3%, 82.8%, 0%, 6.3%)
CIE-LABlab(37.22, 67.69, -90.55)
CIE-LCHlch(37.22, 113.05, 306.78°)
OKLaboklab(48.96% 0.0458 -0.2614)
OKLCHoklch(48.96% 0.265 279.9)
XYZxyz(19.9352, 9.6552, 82.4577)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5329EF #C5EF29
analogous
#2962EF #5329EF #B629EF
triadic
#5329EF #EF5329 #29EF53
tetradic
#5329EF #EF2962 #C5EF29 #29EFB6
square
#5329EF #EF2962 #C5EF29 #29EFB6
split-complementary
#5329EF #EFB629 #62EF29
monochromatic
#280B93 #370FCC #5329EF #8162F3 #AF9BF8

Accessibility & contrast

On white

7.16
#5329EF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5329EF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5329EF
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5329EF#FFFFFF#000000##FFFFFF
##5329EF1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EF4
Deuteranopia (green-blind)
#0050EC
Tritanopia (blue-blind)
#006990
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5329ef;
/* rgb */ color: rgb(83, 41, 239);
/* oklch */ color: oklch(49.0% 0.265 279.9);
Tailwind
colors: {
  custom: {
    50: '#986cf6',
    500: '#5329ef',
    950: '#000000',
  },
}
SCSS
$custom: #5329ef;
$custom-light: #986cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5329ef",
  "rgb": {
    "r": 83,
    "g": 41,
    "b": 239
  },
  "hsl": {
    "h": 252.727,
    "s": 86.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.48963,
    "c": 0.26536,
    "h": 279.9
  },
  "luminance": 0.09657
}

Semantic roles & 50–950 ramp

primary
#5329EF
secondary
#D2E490
accent
#FC2CD0
background
#FAF6FF
surface
#F4ECFF
border
#CEC7D7
text
#100717
muted
#7F7A85

Preview Lab

Preview with #5329EF

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

Preview Lab → · Contrast checker → · Palette generator →

#5329EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva