#5D3ACF#5D3ACF

#5D3ACF is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.5% C 0.214 H 286.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5D3ACF
RGBrgb(93, 58, 207)
HSLhsl(254, 61%, 52%)
HSVhsv(254, 72%, 81%)
CMYKcmyk(55.1%, 72%, 0%, 18.8%)
CIE-LABlab(37.59, 52.32, -71.59)
CIE-LCHlch(37.59, 88.67, 306.16°)
OKLaboklab(48.5% 0.0593 -0.206)
OKLCHoklch(48.5% 0.214 286.1)
XYZxyz(17.2864, 9.8573, 60.0112)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3ACF #ACCF3A
analogous
#3A62CF #5D3ACF #A83ACF
triadic
#5D3ACF #CF5D3A #3ACF5D
tetradic
#5D3ACF #CF3A62 #ACCF3A #3ACFA8
square
#5D3ACF #CF3A62 #ACCF3A #3ACFA8
split-complementary
#5D3ACF #CFA83A #62CF3A
monochromatic
#301C73 #4528A4 #5D3ACF #856BDB #AE9CE7

Accessibility & contrast

On white

7.07
#5D3ACF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5D3ACF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3ACF
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3ACF#FFFFFF#000000##FFFFFF
##5D3ACF1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d3acf;
/* rgb */ color: rgb(93, 58, 207);
/* oklch */ color: oklch(48.5% 0.214 286.1);
Tailwind
colors: {
  custom: {
    50: '#9674df',
    500: '#5d3acf',
    950: '#000000',
  },
}
SCSS
$custom: #5d3acf;
$custom-light: #9674df;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3acf",
  "rgb": {
    "r": 93,
    "g": 58,
    "b": 207
  },
  "hsl": {
    "h": 254.094,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48498,
    "c": 0.21434,
    "h": 286.1
  },
  "luminance": 0.09858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D3ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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