#9E4FD9#9E4FD9

#9E4FD9 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.207 H 307.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9E4FD9
RGBrgb(158, 79, 217)
HSLhsl(274, 64%, 58%)
HSVhsv(274, 64%, 85%)
CMYKcmyk(27.2%, 63.6%, 0%, 14.9%)
CIE-LABlab(49.34, 56.58, -57.91)
CIE-LCHlch(49.34, 80.96, 314.34°)
OKLaboklab(58.78% 0.1259 -0.1637)
OKLCHoklch(58.78% 0.207 307.6)
XYZxyz(29.4183, 17.8712, 67.5319)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4FD9 #8AD94F
analogous
#594FD9 #9E4FD9 #D94FCF
triadic
#9E4FD9 #D99E4F #4FD99E
tetradic
#9E4FD9 #D9594F #8AD94F #4FCFD9
square
#9E4FD9 #D9594F #8AD94F #4FCFD9
split-complementary
#9E4FD9 #CFD94F #4FD959
monochromatic
#5F1F8F #802AC1 #9E4FD9 #BA81E4 #D5B4EF

Accessibility & contrast

On white

4.59
#9E4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9E4FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4FD9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4FD9#FFFFFF#000000##FFFFFF
##9E4FD91.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#3476D6
Tritanopia (blue-blind)
#956B8D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9e4fd9;
/* rgb */ color: rgb(158, 79, 217);
/* oklch */ color: oklch(58.8% 0.207 307.6);
Tailwind
colors: {
  custom: {
    50: '#bf85e5',
    500: '#9e4fd9',
    950: '#000000',
  },
}
SCSS
$custom: #9e4fd9;
$custom-light: #bf85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4fd9",
  "rgb": {
    "r": 158,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 274.348,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58782,
    "c": 0.20652,
    "h": 307.6
  },
  "luminance": 0.17871
}

Semantic roles & 50–950 ramp

primary
#9E4FD9
secondary
#BEDDA6
accent
#E74088
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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