#5932C2#5932C2

#5932C2 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.9% C 0.208 H 287.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#5932C2
RGBrgb(89, 50, 194)
HSLhsl(256, 59%, 48%)
HSVhsv(256, 74%, 76%)
CMYKcmyk(54.1%, 74.2%, 0%, 23.9%)
CIE-LABlab(34.60, 52.07, -68.93)
CIE-LCHlch(34.60, 86.39, 307.07°)
OKLaboklab(45.94% 0.0628 -0.1983)
OKLCHoklch(45.94% 0.208 287.6)
XYZxyz(14.9951, 8.2993, 51.8403)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5932C2 #9BC232
analogous
#3253C2 #5932C2 #A132C2
triadic
#5932C2 #C25932 #32C259
tetradic
#5932C2 #C23253 #9BC232 #32C2A1
square
#5932C2 #C23253 #9BC232 #32C2A1
split-complementary
#5932C2 #C2A132 #53C232
monochromatic
#2C1961 #432591 #5932C2 #7D5CD5 #A48DE2

Accessibility & contrast

On white

7.89
#5932C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5932C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5932C2
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5932C2#FFFFFF#000000##FFFFFF
##5932C21.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#004DBF
Tritanopia (blue-blind)
#2D5A78
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5932c2;
/* rgb */ color: rgb(89, 50, 194);
/* oklch */ color: oklch(45.9% 0.208 287.6);
Tailwind
colors: {
  custom: {
    50: '#936ed6',
    500: '#5932c2',
    950: '#000000',
  },
}
SCSS
$custom: #5932c2;
$custom-light: #936ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#5932c2",
  "rgb": {
    "r": 89,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 256.25,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45939,
    "c": 0.20797,
    "h": 287.6
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#5932C2
secondary
#B8CC84
accent
#E246B8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5932C2

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

Preview Lab → · Contrast checker → · Palette generator →

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