#9F28A3#9F28A3

#9F28A3 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.205 H 326.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9F28A3
RGBrgb(159, 40, 163)
HSLhsl(298, 61%, 40%)
HSVhsv(298, 75%, 64%)
CMYKcmyk(2.5%, 75.5%, 0%, 36.1%)
CIE-LABlab(40.47, 62.05, -40.59)
CIE-LCHlch(40.47, 74.15, 326.81°)
OKLaboklab(51.39% 0.1712 -0.1128)
OKLCHoklch(51.39% 0.205 326.6)
XYZxyz(21.6673, 11.5344, 35.7284)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F28A3 #2CA328
analogous
#6228A3 #9F28A3 #A32869
triadic
#9F28A3 #A39F28 #28A39F
tetradic
#9F28A3 #A36228 #2CA328 #2869A3
square
#9F28A3 #A36228 #2CA328 #2869A3
split-complementary
#9F28A3 #69A328 #28A362
monochromatic
#3F1041 #6F1C72 #9F28A3 #CA3ACF #D76BDB

Accessibility & contrast

On white

6.35
#9F28A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9F28A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F28A3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F28A3#FFFFFF#000000##FFFFFF
##9F28A31.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A6
Deuteranopia (green-blind)
#4664A0
Tritanopia (blue-blind)
#A33D64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f28a3;
/* rgb */ color: rgb(159, 40, 163);
/* oklch */ color: oklch(51.4% 0.205 326.6);
Tailwind
colors: {
  custom: {
    50: '#bf6fbf',
    500: '#9f28a3',
    950: '#000000',
  },
}
SCSS
$custom: #9f28a3;
$custom-light: #bf6fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f28a3",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 298.049,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51385,
    "c": 0.20501,
    "h": 326.6
  },
  "luminance": 0.11533
}

Semantic roles & 50–950 ramp

primary
#9F28A3
secondary
#69C166
accent
#E44449
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F28A3

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

Preview Lab → · Contrast checker → · Palette generator →

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