#5E2CC2#5E2CC2

#5E2CC2 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.7% C 0.214 H 290.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#5E2CC2
RGBrgb(94, 44, 194)
HSLhsl(260, 63%, 47%)
HSVhsv(260, 77%, 76%)
CMYKcmyk(51.5%, 77.3%, 0%, 23.9%)
CIE-LABlab(34.14, 55.59, -69.67)
CIE-LCHlch(34.14, 89.12, 308.59°)
OKLaboklab(45.74% 0.0747 -0.2002)
OKLCHoklch(45.74% 0.214 290.5)
XYZxyz(15.2516, 8.0754, 51.7836)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2CC2 #90C22C
analogous
#2C45C2 #5E2CC2 #A92CC2
triadic
#5E2CC2 #C25E2C #2CC25E
tetradic
#5E2CC2 #C22C45 #90C22C #2CC2A9
square
#5E2CC2 #C22C45 #90C22C #2CC2A9
split-complementary
#5E2CC2 #C2A92C #45C22C
monochromatic
#2E155E #462190 #5E2CC2 #7F53D8 #A485E3

Accessibility & contrast

On white

8.03
#5E2CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5E2CC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2CC2
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2CC2#FFFFFF#000000##FFFFFF
##5E2CC21.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#004DBF
Tritanopia (blue-blind)
#3A5776
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e2cc2;
/* rgb */ color: rgb(94, 44, 194);
/* oklch */ color: oklch(45.7% 0.214 290.5);
Tailwind
colors: {
  custom: {
    50: '#966bd6',
    500: '#5e2cc2',
    950: '#000000',
  },
}
SCSS
$custom: #5e2cc2;
$custom-light: #966bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2cc2",
  "rgb": {
    "r": 94,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 260,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4574,
    "c": 0.21369,
    "h": 290.5
  },
  "luminance": 0.08076
}

Semantic roles & 50–950 ramp

primary
#5E2CC2
secondary
#B2CD7D
accent
#E642AF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0F0714
muted
#7E7A83

Preview Lab

Preview with #5E2CC2

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

Preview Lab → · Contrast checker → · Palette generator →

#5E2CC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva