#5F3EBF#5F3EBF

#5F3EBF is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.8% C 0.191 H 288.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#5F3EBF
RGBrgb(95, 62, 191)
HSLhsl(255, 51%, 50%)
HSVhsv(255, 68%, 75%)
CMYKcmyk(50.3%, 67.5%, 0%, 25.1%)
CIE-LABlab(37.19, 45.92, -62.91)
CIE-LCHlch(37.19, 77.89, 306.13°)
OKLaboklab(47.84% 0.0616 -0.1805)
OKLCHoklch(47.84% 0.191 288.8)
XYZxyz(15.8432, 9.6390, 50.3058)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F3EBF #9EBF3E
analogous
#3E5EBF #5F3EBF #A03EBF
triadic
#5F3EBF #BF5F3E #3EBF5F
tetradic
#5F3EBF #BF3E5E #9EBF3E #3EBFA0
square
#5F3EBF #BF3E5E #9EBF3E #3EBFA0
split-complementary
#5F3EBF #BFA03E #5EBF3E
monochromatic
#312063 #482F91 #5F3EBF #856BCF #AB99DE

Accessibility & contrast

On white

7.17
#5F3EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5F3EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F3EBF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F3EBF#FFFFFF#000000##FFFFFF
##5F3EBF1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#3D5E79
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5f3ebf;
/* rgb */ color: rgb(95, 62, 191);
/* oklch */ color: oklch(47.8% 0.191 288.8);
Tailwind
colors: {
  custom: {
    50: '#9576d3',
    500: '#5f3ebf',
    950: '#000000',
  },
}
SCSS
$custom: #5f3ebf;
$custom-light: #9576d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f3ebf",
  "rgb": {
    "r": 95,
    "g": 62,
    "b": 191
  },
  "hsl": {
    "h": 255.349,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47842,
    "c": 0.19069,
    "h": 288.8
  },
  "luminance": 0.0964
}

Semantic roles & 50–950 ramp

primary
#5F3EBF
secondary
#BBCA8F
accent
#DA4DB6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5F3EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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