#5B3CED#5B3CED

#5B3CED is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.4% C 0.247 H 281.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5B3CED
RGBrgb(91, 60, 237)
HSLhsl(251, 83%, 58%)
HSVhsv(251, 75%, 93%)
CMYKcmyk(61.6%, 74.7%, 0%, 7.1%)
CIE-LABlab(40.52, 59.65, -83.93)
CIE-LCHlch(40.52, 102.97, 305.40°)
OKLaboklab(51.36% 0.0482 -0.2421)
OKLCHoklch(51.36% 0.247 281.3)
XYZxyz(21.2115, 11.5687, 81.2196)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3CED #CEED3C
analogous
#3C76ED #5B3CED #B33CED
triadic
#5B3CED #ED5B3C #3CED5B
tetradic
#5B3CED #ED3C76 #CEED3C #3CEDB3
square
#5B3CED #ED3C76 #CEED3C #3CEDB3
split-complementary
#5B3CED #EDB33C #76ED3C
monochromatic
#280FA0 #3614D8 #5B3CED #8A74F2 #B9ACF7

Accessibility & contrast

On white

6.34
#5B3CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5B3CED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B3CED
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3CED#FFFFFF#000000##FFFFFF
##5B3CED1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066F2
Deuteranopia (green-blind)
#0059EA
Tritanopia (blue-blind)
#006F92
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b3ced;
/* rgb */ color: rgb(91, 60, 237);
/* oklch */ color: oklch(51.4% 0.247 281.3);
Tailwind
colors: {
  custom: {
    50: '#9a76f4',
    500: '#5b3ced',
    950: '#000000',
  },
}
SCSS
$custom: #5b3ced;
$custom-light: #9a76f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3ced",
  "rgb": {
    "r": 91,
    "g": 60,
    "b": 237
  },
  "hsl": {
    "h": 250.508,
    "s": 83.099,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51363,
    "c": 0.24689,
    "h": 281.3
  },
  "luminance": 0.1157
}

Semantic roles & 50–950 ramp

primary
#5B3CED
secondary
#D9E69F
accent
#F92ED6
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #5B3CED

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

Preview Lab → · Contrast checker → · Palette generator →

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