#9F4698#9F4698

#9F4698 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 53.9% C 0.156 H 330.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9F4698
RGBrgb(159, 70, 152)
HSLhsl(305, 39%, 45%)
HSVhsv(305, 56%, 62%)
CMYKcmyk(0%, 56%, 4.4%, 37.6%)
CIE-LABlab(44.26, 47.97, -28.01)
CIE-LCHlch(44.26, 55.55, 329.72°)
OKLaboklab(53.95% 0.136 -0.0767)
OKLCHoklch(53.95% 0.156 330.6)
XYZxyz(22.1556, 14.0197, 31.2388)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4698 #469F4D
analogous
#7A469F #9F4698 #9F466C
triadic
#9F4698 #989F46 #46989F
tetradic
#9F4698 #9F7A46 #469F4D #466C9F
square
#9F4698 #9F7A46 #469F4D #466C9F
split-complementary
#9F4698 #6C9F46 #469F7A
monochromatic
#4A2147 #75336F #9F4698 #BC66B5 #CF91CA

Accessibility & contrast

On white

5.52
#9F4698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9F4698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4698
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4698#FFFFFF#000000##FFFFFF
##9F46981.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41619B
Deuteranopia (green-blind)
#5D6D95
Tritanopia (blue-blind)
#A54E68
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f4698;
/* rgb */ color: rgb(159, 70, 152);
/* oklch */ color: oklch(53.9% 0.156 330.6);
Tailwind
colors: {
  custom: {
    50: '#be7eb6',
    500: '#9f4698',
    950: '#000000',
  },
}
SCSS
$custom: #9f4698;
$custom-light: #be7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4698",
  "rgb": {
    "r": 159,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 304.719,
    "s": 38.865,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53946,
    "c": 0.15612,
    "h": 330.6
  },
  "luminance": 0.14018
}

Semantic roles & 50–950 ramp

primary
#9F4698
secondary
#87BA8B
accent
#CF6259
background
#FBF7FB
surface
#F7EEF6
border
#D0C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #9F4698

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

Preview Lab → · Contrast checker → · Palette generator →

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