#9E4BDB#9E4BDB

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

Color values

HEX#9E4BDB
RGBrgb(158, 75, 219)
HSLhsl(275, 67%, 58%)
HSVhsv(275, 66%, 86%)
CMYKcmyk(27.9%, 65.8%, 0%, 14.1%)
CIE-LABlab(48.78, 58.92, -59.95)
CIE-LCHlch(48.78, 84.06, 314.51°)
OKLaboklab(58.42% 0.1302 -0.1697)
OKLCHoklch(58.42% 0.214 307.5)
XYZxyz(29.4001, 17.4161, 68.8169)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4BDB #88DB4B
analogous
#564BDB #9E4BDB #DB4BD0
triadic
#9E4BDB #DB9E4B #4BDB9E
tetradic
#9E4BDB #DB564B #88DB4B #4BD0DB
square
#9E4BDB #DB564B #88DB4B #4BD0DB
split-complementary
#9E4BDB #D0DB4B #4BDB56
monochromatic
#5F1D8F #8027C2 #9E4BDB #B97EE5 #D5B1EF

Accessibility & contrast

On white

4.68
#9E4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9E4BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4BDB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4BDB#FFFFFF#000000##FFFFFF
##9E4BDB1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e4bdb;
/* rgb */ color: rgb(158, 75, 219);
/* oklch */ color: oklch(58.4% 0.214 307.5);
Tailwind
colors: {
  custom: {
    50: '#bf83e7',
    500: '#9e4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #9e4bdb;
$custom-light: #bf83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4bdb",
  "rgb": {
    "r": 158,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 274.583,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58421,
    "c": 0.21389,
    "h": 307.5
  },
  "luminance": 0.17416
}

Semantic roles & 50–950 ramp

primary
#9E4BDB
secondary
#BCDEA4
accent
#EA3E87
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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