#5E2BBF#5E2BBF

#5E2BBF is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.4% C 0.211 H 291.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#5E2BBF
RGBrgb(94, 43, 191)
HSLhsl(261, 63%, 46%)
HSVhsv(261, 77%, 75%)
CMYKcmyk(50.8%, 77.5%, 0%, 25.1%)
CIE-LABlab(33.71, 55.23, -68.61)
CIE-LCHlch(33.71, 88.08, 308.83°)
OKLaboklab(45.35% 0.0763 -0.1971)
OKLCHoklch(45.35% 0.211 291.2)
XYZxyz(14.8813, 7.8684, 50.0148)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2BBF #8CBF2B
analogous
#2B42BF #5E2BBF #A82BBF
triadic
#5E2BBF #BF5E2B #2BBF5E
tetradic
#5E2BBF #BF2B42 #8CBF2B #2BBFA8
square
#5E2BBF #BF2B42 #8CBF2B #2BBFA8
split-complementary
#5E2BBF #BFA82B #42BF2B
monochromatic
#2D155B #45208D #5E2BBF #7E50D8 #A382E3

Accessibility & contrast

On white

8.16
#5E2BBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5E2BBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2BBF
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2BBF#FFFFFF#000000##FFFFFF
##5E2BBF1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C3
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#3C5574
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e2bbf;
/* rgb */ color: rgb(94, 43, 191);
/* oklch */ color: oklch(45.4% 0.211 291.2);
Tailwind
colors: {
  custom: {
    50: '#966bd4',
    500: '#5e2bbf',
    950: '#000000',
  },
}
SCSS
$custom: #5e2bbf;
$custom-light: #966bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2bbf",
  "rgb": {
    "r": 94,
    "g": 43,
    "b": 191
  },
  "hsl": {
    "h": 260.676,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45354,
    "c": 0.21138,
    "h": 291.2
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#5E2BBF
secondary
#B0CC7A
accent
#E642AE
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5E2BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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