#5C3ACF#5C3ACF

#5C3ACF is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.4% C 0.214 H 285.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5C3ACF
RGBrgb(92, 58, 207)
HSLhsl(254, 61%, 52%)
HSVhsv(254, 72%, 81%)
CMYKcmyk(55.6%, 72%, 0%, 18.8%)
CIE-LABlab(37.49, 52.17, -71.75)
CIE-LCHlch(37.49, 88.71, 306.02°)
OKLaboklab(48.41% 0.0579 -0.2065)
OKLCHoklch(48.41% 0.214 285.7)
XYZxyz(17.1858, 9.8054, 60.0064)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3ACF #ADCF3A
analogous
#3A63CF #5C3ACF #A63ACF
triadic
#5C3ACF #CF5C3A #3ACF5C
tetradic
#5C3ACF #CF3A63 #ADCF3A #3ACFA6
square
#5C3ACF #CF3A63 #ADCF3A #3ACFA6
split-complementary
#5C3ACF #CFA63A #63CF3A
monochromatic
#301C73 #4428A4 #5C3ACF #856BDB #AD9CE7

Accessibility & contrast

On white

7.09
#5C3ACF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5C3ACF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3ACF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3ACF#FFFFFF#000000##FFFFFF
##5C3ACF1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD3
Deuteranopia (green-blind)
#0054CC
Tritanopia (blue-blind)
#266281
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c3acf;
/* rgb */ color: rgb(92, 58, 207);
/* oklch */ color: oklch(48.4% 0.214 285.7);
Tailwind
colors: {
  custom: {
    50: '#9673df',
    500: '#5c3acf',
    950: '#000000',
  },
}
SCSS
$custom: #5c3acf;
$custom-light: #9673df;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3acf",
  "rgb": {
    "r": 92,
    "g": 58,
    "b": 207
  },
  "hsl": {
    "h": 253.691,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48409,
    "c": 0.21444,
    "h": 285.7
  },
  "luminance": 0.09806
}

Semantic roles & 50–950 ramp

primary
#5C3ACF
secondary
#C4D392
accent
#E444BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C3ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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