#9E4BDA#9E4BDA

#9E4BDA is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.4% C 0.213 H 307.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9E4BDA
RGBrgb(158, 75, 218)
HSLhsl(275, 66%, 57%)
HSVhsv(275, 66%, 85%)
CMYKcmyk(27.5%, 65.6%, 0%, 14.5%)
CIE-LABlab(48.71, 58.70, -59.48)
CIE-LCHlch(48.71, 83.57, 314.62°)
OKLaboklab(58.35% 0.1303 -0.1683)
OKLCHoklch(58.35% 0.213 307.7)
XYZxyz(29.2689, 17.3636, 68.1257)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4BDA #87DA4B
analogous
#564BDA #9E4BDA #DA4BCF
triadic
#9E4BDA #DA9E4B #4BDA9E
tetradic
#9E4BDA #DA564B #87DA4B #4BCFDA
square
#9E4BDA #DA564B #87DA4B #4BCFDA
split-complementary
#9E4BDA #CFDA4B #4BDA56
monochromatic
#5E1D8E #8028C0 #9E4BDA #B97EE4 #D5B1EF

Accessibility & contrast

On white

4.70
#9E4BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9E4BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4BDA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4BDA#FFFFFF#000000##FFFFFF
##9E4BDA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#2D75D7
Tritanopia (blue-blind)
#95698C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e4bda;
/* rgb */ color: rgb(158, 75, 218);
/* oklch */ color: oklch(58.4% 0.213 307.7);
Tailwind
colors: {
  custom: {
    50: '#bf83e6',
    500: '#9e4bda',
    950: '#000000',
  },
}
SCSS
$custom: #9e4bda;
$custom-light: #bf83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4bda",
  "rgb": {
    "r": 158,
    "g": 75,
    "b": 218
  },
  "hsl": {
    "h": 274.825,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58353,
    "c": 0.21287,
    "h": 307.7
  },
  "luminance": 0.17363
}

Semantic roles & 50–950 ramp

primary
#9E4BDA
secondary
#BCDDA4
accent
#E93F86
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4BDA

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

Preview Lab → · Contrast checker → · Palette generator →

#9E4BDA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva