#5C2EFF#5C2EFF

#5C2EFF is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.8% C 0.277 H 280.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#5C2EFF
RGBrgb(92, 46, 255)
HSLhsl(253, 100%, 59%)
HSVhsv(253, 82%, 100%)
CMYKcmyk(63.9%, 82%, 0%, 0%)
CIE-LABlab(40.32, 70.75, -94.38)
CIE-LCHlch(40.32, 117.95, 306.86°)
OKLaboklab(51.78% 0.0515 -0.2724)
OKLCHoklch(51.78% 0.277 280.7)
XYZxyz(23.4349, 11.4475, 95.5630)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2EFF #D1FF2E
analogous
#2E69FF #5C2EFF #C52EFF
triadic
#5C2EFF #FF5C2E #2EFF5C
tetradic
#5C2EFF #FF2E69 #D1FF2E #2EFFC5
square
#5C2EFF #FF2E69 #D1FF2E #2EFFC5
split-complementary
#5C2EFF #FFC52E #69FF2E
monochromatic
#2700B3 #3500F0 #5C2EFF #8C6BFF #BBA8FF

Accessibility & contrast

On white

6.38
#5C2EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5C2EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C2EFF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2EFF#FFFFFF#000000##FFFFFF
##5C2EFF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066FF
Deuteranopia (green-blind)
#0057FB
Tritanopia (blue-blind)
#00719A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5c2eff;
/* rgb */ color: rgb(92, 46, 255);
/* oklch */ color: oklch(51.8% 0.277 280.7);
Tailwind
colors: {
  custom: {
    50: '#9e70ff',
    500: '#5c2eff',
    950: '#000000',
  },
}
SCSS
$custom: #5c2eff;
$custom-light: #9e70ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2eff",
  "rgb": {
    "r": 92,
    "g": 46,
    "b": 255
  },
  "hsl": {
    "h": 253.206,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51781,
    "c": 0.2772,
    "h": 280.7
  },
  "luminance": 0.11449
}

Semantic roles & 50–950 ramp

primary
#5C2EFF
secondary
#DBED9B
accent
#FF29D0
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#110818
muted
#807B86

Preview Lab

Preview with #5C2EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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