#5E2EFF#5E2EFF

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

Color values

HEX#5E2EFF
RGBrgb(94, 46, 255)
HSLhsl(254, 100%, 59%)
HSVhsv(254, 82%, 100%)
CMYKcmyk(63.1%, 82%, 0%, 0%)
CIE-LABlab(40.49, 70.92, -94.09)
CIE-LCHlch(40.49, 117.82, 307.01°)
OKLaboklab(51.94% 0.0544 -0.2715)
OKLCHoklch(51.94% 0.277 281.3)
XYZxyz(23.6374, 11.5519, 95.5725)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2EFF #CFFF2E
analogous
#2E67FF #5E2EFF #C72EFF
triadic
#5E2EFF #FF5E2E #2EFF5E
tetradic
#5E2EFF #FF2E67 #CFFF2E #2EFFC7
square
#5E2EFF #FF2E67 #CFFF2E #2EFFC7
split-complementary
#5E2EFF #FFC72E #67FF2E
monochromatic
#2900B3 #3700F0 #5E2EFF #8D6BFF #BCA8FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E2EFF#FFFFFF#000000##FFFFFF
##5E2EFF1.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)
#0066FF
Deuteranopia (green-blind)
#0058FB
Tritanopia (blue-blind)
#00719A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e2eff;
/* rgb */ color: rgb(94, 46, 255);
/* oklch */ color: oklch(51.9% 0.277 281.3);
Tailwind
colors: {
  custom: {
    50: '#9f70ff',
    500: '#5e2eff',
    950: '#000000',
  },
}
SCSS
$custom: #5e2eff;
$custom-light: #9f70ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2eff",
  "rgb": {
    "r": 94,
    "g": 46,
    "b": 255
  },
  "hsl": {
    "h": 253.78,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5194,
    "c": 0.27689,
    "h": 281.3
  },
  "luminance": 0.11554
}

Semantic roles & 50–950 ramp

primary
#5E2EFF
secondary
#DBED9B
accent
#FF29CE
background
#FAF7FF
surface
#F5EDFF
border
#CFC8D7
text
#110818
muted
#807B86

Preview Lab

Preview with #5E2EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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