#5C2BD3#5C2BD3

#5C2BD3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.1% C 0.233 H 286.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5C2BD3
RGBrgb(92, 43, 211)
HSLhsl(258, 66%, 50%)
HSVhsv(258, 80%, 83%)
CMYKcmyk(56.4%, 79.6%, 0%, 17.3%)
CIE-LABlab(35.41, 60.29, -77.49)
CIE-LCHlch(35.41, 98.18, 307.89°)
OKLaboklab(47.07% 0.0672 -0.2231)
OKLCHoklch(47.07% 0.233 286.8)
XYZxyz(17.0319, 8.7052, 62.3982)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2BD3 #A2D32B
analogous
#2B4ED3 #5C2BD3 #B02BD3
triadic
#5C2BD3 #D35C2B #2BD35C
tetradic
#5C2BD3 #D32B4E #A2D32B #2BD3B0
square
#5C2BD3 #D32B4E #A2D32B #2BD3B0
split-complementary
#5C2BD3 #D3B02B #4ED32B
monochromatic
#30166D #4621A0 #5C2BD3 #835DDE #AA90E8

Accessibility & contrast

On white

7.66
#5C2BD3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5C2BD3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2BD3
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2BD3#FFFFFF#000000##FFFFFF
##5C2BD31.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D8
Deuteranopia (green-blind)
#004ED0
Tritanopia (blue-blind)
#225D80
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5c2bd3;
/* rgb */ color: rgb(92, 43, 211);
/* oklch */ color: oklch(47.1% 0.233 286.8);
Tailwind
colors: {
  custom: {
    50: '#976ce2',
    500: '#5c2bd3',
    950: '#000000',
  },
}
SCSS
$custom: #5c2bd3;
$custom-light: #976ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2bd3",
  "rgb": {
    "r": 92,
    "g": 43,
    "b": 211
  },
  "hsl": {
    "h": 257.5,
    "s": 66.142,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47065,
    "c": 0.23302,
    "h": 286.8
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

primary
#5C2BD3
secondary
#BDD387
accent
#E93FB7
background
#FAF6FE
surface
#F3ECFC
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #5C2BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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