#9F4EAF#9F4EAF

#9F4EAF is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.2% C 0.165 H 320.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9F4EAF
RGBrgb(159, 78, 175)
HSLhsl(290, 38%, 50%)
HSVhsv(290, 55%, 69%)
CMYKcmyk(9.1%, 55.4%, 0%, 31.4%)
CIE-LABlab(46.86, 48.36, -37.57)
CIE-LCHlch(46.86, 61.24, 322.16°)
OKLaboklab(56.23% 0.1278 -0.1043)
OKLCHoklch(56.23% 0.165 320.8)
XYZxyz(24.7594, 15.9159, 42.3170)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4EAF #5EAF4E
analogous
#6F4EAF #9F4EAF #AF4E8F
triadic
#9F4EAF #AF9F4E #4EAF9F
tetradic
#9F4EAF #AF6F4E #5EAF4E #4E8FAF
square
#9F4EAF #AF6F4E #5EAF4E #4E8FAF
split-complementary
#9F4EAF #8FAF4E #4EAF6F
monochromatic
#52285A #793B85 #9F4EAF #B678C3 #CDA2D6

Accessibility & contrast

On white

5.02
#9F4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9F4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4EAF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4EAF#FFFFFF#000000##FFFFFF
##9F4EAF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B2
Deuteranopia (green-blind)
#5772AC
Tritanopia (blue-blind)
#A05C77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f4eaf;
/* rgb */ color: rgb(159, 78, 175);
/* oklch */ color: oklch(56.2% 0.165 320.8);
Tailwind
colors: {
  custom: {
    50: '#be83c7',
    500: '#9f4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #9f4eaf;
$custom-light: #be83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4eaf",
  "rgb": {
    "r": 159,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 290.103,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56228,
    "c": 0.16495,
    "h": 320.8
  },
  "luminance": 0.15915
}

Semantic roles & 50–950 ramp

primary
#9F4EAF
secondary
#9EC396
accent
#CE5A6D
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9F4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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