#9E4CDB#9E4CDB

#9E4CDB is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.5% C 0.213 H 307.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9E4CDB
RGBrgb(158, 76, 219)
HSLhsl(274, 67%, 58%)
HSVhsv(274, 65%, 86%)
CMYKcmyk(27.9%, 65.3%, 0%, 14.1%)
CIE-LABlab(48.95, 58.46, -59.67)
CIE-LCHlch(48.95, 83.54, 314.41°)
OKLaboklab(58.54% 0.1291 -0.1689)
OKLCHoklch(58.54% 0.213 307.4)
XYZxyz(29.4685, 17.5528, 68.8397)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4CDB #89DB4C
analogous
#574CDB #9E4CDB #DB4CD0
triadic
#9E4CDB #DB9E4C #4CDB9E
tetradic
#9E4CDB #DB574C #89DB4C #4CD0DB
square
#9E4CDB #DB574C #89DB4C #4CD0DB
split-complementary
#9E4CDB #D0DB4C #4CDB57
monochromatic
#5F1D90 #8027C3 #9E4CDB #BA7FE5 #D5B2EF

Accessibility & contrast

On white

4.66
#9E4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9E4CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4CDB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4CDB#FFFFFF#000000##FFFFFF
##9E4CDB1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#2D75D8
Tritanopia (blue-blind)
#946A8D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e4cdb;
/* rgb */ color: rgb(158, 76, 219);
/* oklch */ color: oklch(58.5% 0.213 307.4);
Tailwind
colors: {
  custom: {
    50: '#bf83e7',
    500: '#9e4cdb',
    950: '#000000',
  },
}
SCSS
$custom: #9e4cdb;
$custom-light: #bf83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4cdb",
  "rgb": {
    "r": 158,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 274.406,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58542,
    "c": 0.2126,
    "h": 307.4
  },
  "luminance": 0.17552
}

Semantic roles & 50–950 ramp

primary
#9E4CDB
secondary
#BDDEA5
accent
#E93E87
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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