#5E2EBD#5E2EBD

#5E2EBD is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.5% C 0.206 H 291.2°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#5E2EBD
RGBrgb(94, 46, 189)
HSLhsl(260, 61%, 46%)
HSVhsv(260, 76%, 74%)
CMYKcmyk(50.3%, 75.7%, 0%, 25.9%)
CIE-LABlab(34.00, 53.34, -66.96)
CIE-LCHlch(34.00, 85.61, 308.54°)
OKLaboklab(45.5% 0.0746 -0.1923)
OKLCHoklch(45.5% 0.206 291.2)
XYZxyz(14.7758, 8.0072, 48.9013)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2EBD #8DBD2E
analogous
#2E45BD #5E2EBD #A52EBD
triadic
#5E2EBD #BD5E2E #2EBD5E
tetradic
#5E2EBD #BD2E45 #8DBD2E #2EBDA5
square
#5E2EBD #BD2E45 #8DBD2E #2EBDA5
split-complementary
#5E2EBD #BDA52E #45BD2E
monochromatic
#2D165B #46228C #5E2EBD #7F53D5 #A384E1

Accessibility & contrast

On white

8.07
#5E2EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5E2EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2EBD
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2EBD#FFFFFF#000000##FFFFFF
##5E2EBD1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#3E5574
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e2ebd;
/* rgb */ color: rgb(94, 46, 189);
/* oklch */ color: oklch(45.5% 0.206 291.2);
Tailwind
colors: {
  custom: {
    50: '#956cd2',
    500: '#5e2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #5e2ebd;
$custom-light: #956cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2ebd",
  "rgb": {
    "r": 94,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 260.14,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45501,
    "c": 0.20624,
    "h": 291.2
  },
  "luminance": 0.08008
}

Semantic roles & 50–950 ramp

primary
#5E2EBD
secondary
#B0CA7C
accent
#E444AE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5E2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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