#5C2FDC#5C2FDC

#5C2FDC is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.239 H 285.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#5C2FDC
RGBrgb(92, 47, 220)
HSLhsl(256, 71%, 52%)
HSVhsv(256, 79%, 86%)
CMYKcmyk(58.2%, 78.6%, 0%, 13.7%)
CIE-LABlab(36.88, 61.01, -80.24)
CIE-LCHlch(36.88, 100.80, 307.25°)
OKLaboklab(48.35% 0.062 -0.2312)
OKLCHoklch(48.35% 0.239 285)
XYZxyz(18.3445, 9.4745, 68.5584)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2FDC #AFDC2F
analogous
#2F59DC #5C2FDC #B32FDC
triadic
#5C2FDC #DC5C2F #2FDC5C
tetradic
#5C2FDC #DC2F59 #AFDC2F #2FDCB3
square
#5C2FDC #DC2F59 #AFDC2F #2FDCB3
split-complementary
#5C2FDC #DCB32F #59DC2F
monochromatic
#30157C #441EB0 #5C2FDC #8563E5 #AE98EE

Accessibility & contrast

On white

7.25
#5C2FDC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5C2FDC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2FDC
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2FDC#FFFFFF#000000##FFFFFF
##5C2FDC1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE1
Deuteranopia (green-blind)
#0051D9
Tritanopia (blue-blind)
#0E6386
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c2fdc;
/* rgb */ color: rgb(92, 47, 220);
/* oklch */ color: oklch(48.4% 0.239 285.0);
Tailwind
colors: {
  custom: {
    50: '#996ee8',
    500: '#5c2fdc',
    950: '#000000',
  },
}
SCSS
$custom: #5c2fdc;
$custom-light: #996ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2fdc",
  "rgb": {
    "r": 92,
    "g": 47,
    "b": 220
  },
  "hsl": {
    "h": 255.607,
    "s": 71.193,
    "l": 52.353
  },
  "oklch": {
    "l": 0.4835,
    "c": 0.2394,
    "h": 285
  },
  "luminance": 0.09476
}

Semantic roles & 50–950 ramp

primary
#5C2FDC
secondary
#C5D98E
accent
#EE3ABF
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5C2FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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