#5E2BBD#5E2BBD

#5E2BBD is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.2% C 0.209 H 291.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#5E2BBD
RGBrgb(94, 43, 189)
HSLhsl(261, 63%, 45%)
HSVhsv(261, 77%, 74%)
CMYKcmyk(50.3%, 77.2%, 0%, 25.9%)
CIE-LABlab(33.52, 54.70, -67.74)
CIE-LCHlch(33.52, 87.07, 308.92°)
OKLaboklab(45.17% 0.0769 -0.1946)
OKLCHoklch(45.17% 0.209 291.6)
XYZxyz(14.6627, 7.7810, 48.8635)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2BBD #8ABD2B
analogous
#2B41BD #5E2BBD #A72BBD
triadic
#5E2BBD #BD5E2B #2BBD5E
tetradic
#5E2BBD #BD2B41 #8ABD2B #2BBDA7
square
#5E2BBD #BD2B41 #8ABD2B #2BBDA7
split-complementary
#5E2BBD #BDA72B #41BD2B
monochromatic
#2C1459 #45208B #5E2BBD #7E4ED7 #A280E2

Accessibility & contrast

On white

8.21
#5E2BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5E2BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2BBD
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2BBD#FFFFFF#000000##FFFFFF
##5E2BBD1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#3E5473
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e2bbd;
/* rgb */ color: rgb(94, 43, 189);
/* oklch */ color: oklch(45.2% 0.209 291.6);
Tailwind
colors: {
  custom: {
    50: '#956ad2',
    500: '#5e2bbd',
    950: '#000000',
  },
}
SCSS
$custom: #5e2bbd;
$custom-light: #956ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2bbd",
  "rgb": {
    "r": 94,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 260.959,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45168,
    "c": 0.20919,
    "h": 291.6
  },
  "luminance": 0.07782
}

Semantic roles & 50–950 ramp

primary
#5E2BBD
secondary
#AECB79
accent
#E642AD
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5E2BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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