#5E2EDB#5E2EDB

#5E2EDB is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.3% C 0.239 H 286.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5E2EDB
RGBrgb(94, 46, 219)
HSLhsl(257, 71%, 52%)
HSVhsv(257, 79%, 86%)
CMYKcmyk(57.1%, 79%, 0%, 14.1%)
CIE-LABlab(36.83, 61.39, -79.75)
CIE-LCHlch(36.83, 100.64, 307.59°)
OKLaboklab(48.33% 0.0659 -0.2297)
OKLCHoklch(48.33% 0.239 286)
XYZxyz(18.3754, 9.4471, 67.8593)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2EDB #ABDB2E
analogous
#2E55DB #5E2EDB #B42EDB
triadic
#5E2EDB #DB5E2E #2EDB5E
tetradic
#5E2EDB #DB2E55 #ABDB2E #2EDBB4
square
#5E2EDB #DB2E55 #ABDB2E #2EDBB4
split-complementary
#5E2EDB #DBB42E #55DB2E
monochromatic
#31157A #461EAE #5E2EDB #8662E4 #AE96ED

Accessibility & contrast

On white

7.27
#5E2EDB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5E2EDB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2EDB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2EDB#FFFFFF#000000##FFFFFF
##5E2EDB1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE0
Deuteranopia (green-blind)
#0051D8
Tritanopia (blue-blind)
#1C6285
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e2edb;
/* rgb */ color: rgb(94, 46, 219);
/* oklch */ color: oklch(48.3% 0.239 286.0);
Tailwind
colors: {
  custom: {
    50: '#9a6ee8',
    500: '#5e2edb',
    950: '#000000',
  },
}
SCSS
$custom: #5e2edb;
$custom-light: #9a6ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2edb",
  "rgb": {
    "r": 94,
    "g": 46,
    "b": 219
  },
  "hsl": {
    "h": 256.647,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48332,
    "c": 0.23896,
    "h": 286
  },
  "luminance": 0.09448
}

Semantic roles & 50–950 ramp

primary
#5E2EDB
secondary
#C3D88D
accent
#ED3ABC
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5E2EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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