#9E4BDD#9E4BDD

#9E4BDD is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.6% C 0.216 H 307.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9E4BDD
RGBrgb(158, 75, 221)
HSLhsl(274, 68%, 58%)
HSVhsv(274, 66%, 87%)
CMYKcmyk(28.5%, 66.1%, 0%, 13.3%)
CIE-LABlab(48.91, 59.37, -60.87)
CIE-LCHlch(48.91, 85.03, 314.28°)
OKLaboklab(58.56% 0.13 -0.1724)
OKLCHoklch(58.56% 0.216 307)
XYZxyz(29.6650, 17.5221, 70.2119)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4BDD #8ADD4B
analogous
#554BDD #9E4BDD #DD4BD3
triadic
#9E4BDD #DD9E4B #4BDD9E
tetradic
#9E4BDD #DD554B #8ADD4B #4BD3DD
square
#9E4BDD #DD554B #8ADD4B #4BD3DD
split-complementary
#9E4BDD #D3DD4B #4BDD55
monochromatic
#5F1C92 #8025C5 #9E4BDD #BA7EE7 #D5B2F0

Accessibility & contrast

On white

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

On black

4.50
#9E4BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9E4BDD#FFFFFF#000000##FFFFFF
##9E4BDD1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#2875DA
Tritanopia (blue-blind)
#946A8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e4bdd;
/* rgb */ color: rgb(158, 75, 221);
/* oklch */ color: oklch(58.6% 0.216 307.0);
Tailwind
colors: {
  custom: {
    50: '#bf83e8',
    500: '#9e4bdd',
    950: '#000000',
  },
}
SCSS
$custom: #9e4bdd;
$custom-light: #bf83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4bdd",
  "rgb": {
    "r": 158,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 274.11,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58556,
    "c": 0.21595,
    "h": 307
  },
  "luminance": 0.17522
}

Semantic roles & 50–950 ramp

primary
#9E4BDD
secondary
#BEDFA5
accent
#EB3D88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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