#9F459B#9F459B

#9F459B is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.0% C 0.160 H 329.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9F459B
RGBrgb(159, 69, 155)
HSLhsl(303, 39%, 45%)
HSVhsv(303, 57%, 62%)
CMYKcmyk(0%, 56.6%, 2.5%, 37.6%)
CIE-LABlab(44.23, 48.98, -29.86)
CIE-LCHlch(44.23, 57.37, 328.63°)
OKLaboklab(53.97% 0.1378 -0.082)
OKLCHoklch(53.97% 0.16 329.3)
XYZxyz(22.3424, 13.9952, 32.5285)
Luminance0.1399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F459B #459F49
analogous
#76459F #9F459B #9F456E
triadic
#9F459B #9B9F45 #459B9F
tetradic
#9F459B #9F7645 #459F49 #456E9F
square
#9F459B #9F7645 #459F49 #456E9F
split-complementary
#9F459B #6E9F45 #459F76
monochromatic
#4A2048 #743271 #9F459B #BC65B8 #CF90CC

Accessibility & contrast

On white

5.53
#9F459B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F459B
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F459B#FFFFFF#000000##FFFFFF
##9F459B1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E619E
Deuteranopia (green-blind)
#5B6D98
Tritanopia (blue-blind)
#A44E69
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f459b;
/* rgb */ color: rgb(159, 69, 155);
/* oklch */ color: oklch(54.0% 0.160 329.3);
Tailwind
colors: {
  custom: {
    50: '#be7eb9',
    500: '#9f459b',
    950: '#000000',
  },
}
SCSS
$custom: #9f459b;
$custom-light: #be7eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f459b",
  "rgb": {
    "r": 159,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 302.667,
    "s": 39.474,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53967,
    "c": 0.16034,
    "h": 329.3
  },
  "luminance": 0.13994
}

Semantic roles & 50–950 ramp

primary
#9F459B
secondary
#86BA88
accent
#CF5E58
background
#FBF7FB
surface
#F7EEF6
border
#D0C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #9F459B

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

Preview Lab → · Contrast checker → · Palette generator →

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