#9F4EDA#9F4EDA

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

Color values

HEX#9F4EDA
RGBrgb(159, 78, 218)
HSLhsl(275, 65%, 58%)
HSVhsv(275, 64%, 85%)
CMYKcmyk(27.1%, 64.2%, 0%, 14.5%)
CIE-LABlab(49.35, 57.50, -58.45)
CIE-LCHlch(49.35, 81.99, 314.53°)
OKLaboklab(58.84% 0.1282 -0.1653)
OKLCHoklch(58.84% 0.209 307.8)
XYZxyz(29.6747, 17.8821, 68.2044)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4EDA #89DA4E
analogous
#594EDA #9F4EDA #DA4ECF
triadic
#9F4EDA #DA9F4E #4EDA9F
tetradic
#9F4EDA #DA594E #89DA4E #4ECFDA
square
#9F4EDA #DA594E #89DA4E #4ECFDA
split-complementary
#9F4EDA #CFDA4E #4EDA59
monochromatic
#601E90 #8129C2 #9F4EDA #BA81E5 #D6B3EF

Accessibility & contrast

On white

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

On black

4.58
#9F4EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F4EDA#FFFFFF#000000##FFFFFF
##9F4EDA1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#3376D7
Tritanopia (blue-blind)
#966B8D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f4eda;
/* rgb */ color: rgb(159, 78, 218);
/* oklch */ color: oklch(58.8% 0.209 307.8);
Tailwind
colors: {
  custom: {
    50: '#bf84e6',
    500: '#9f4eda',
    950: '#000000',
  },
}
SCSS
$custom: #9f4eda;
$custom-light: #bf84e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4eda",
  "rgb": {
    "r": 159,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 274.714,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58839,
    "c": 0.20919,
    "h": 307.8
  },
  "luminance": 0.17882
}

Semantic roles & 50–950 ramp

primary
#9F4EDA
secondary
#BEDEA6
accent
#E83F87
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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