#5D3FE8#5D3FE8

#5D3FE8 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.238 H 282.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5D3FE8
RGBrgb(93, 63, 232)
HSLhsl(251, 79%, 58%)
HSVhsv(251, 73%, 91%)
CMYKcmyk(59.9%, 72.8%, 0%, 9%)
CIE-LABlab(40.75, 56.97, -80.72)
CIE-LCHlch(40.75, 98.80, 305.21°)
OKLaboklab(51.42% 0.0502 -0.2327)
OKLCHoklch(51.42% 0.238 282.2)
XYZxyz(20.8527, 11.7069, 77.4891)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FE8 #CAE83F
analogous
#3F75E8 #5D3FE8 #B23FE8
triadic
#5D3FE8 #E85D3F #3FE85D
tetradic
#5D3FE8 #E83F75 #CAE83F #3FE8B2
square
#5D3FE8 #E83F75 #CAE83F #3FE8B2
split-complementary
#5D3FE8 #E8B23F #75E83F
monochromatic
#2B129A #3A19D1 #5D3FE8 #8B76EF #B9ACF5

Accessibility & contrast

On white

6.28
#5D3FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5D3FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3FE8
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FE8#FFFFFF#000000##FFFFFF
##5D3FE81.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066ED
Deuteranopia (green-blind)
#005AE5
Tritanopia (blue-blind)
#006E90
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d3fe8;
/* rgb */ color: rgb(93, 63, 232);
/* oklch */ color: oklch(51.4% 0.238 282.2);
Tailwind
colors: {
  custom: {
    50: '#9a78f1',
    500: '#5d3fe8',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fe8;
$custom-light: #9a78f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fe8",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 232
  },
  "hsl": {
    "h": 250.651,
    "s": 78.605,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51421,
    "c": 0.23809,
    "h": 282.2
  },
  "luminance": 0.11708
}

Semantic roles & 50–950 ramp

primary
#5D3FE8
secondary
#D7E3A0
accent
#F533D3
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5D3FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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