#9F30AE#9F30AE

#9F30AE is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.205 H 322.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9F30AE
RGBrgb(159, 48, 174)
HSLhsl(293, 57%, 44%)
HSVhsv(293, 72%, 68%)
CMYKcmyk(8.6%, 72.4%, 0%, 31.8%)
CIE-LABlab(42.07, 61.27, -44.60)
CIE-LCHlch(42.07, 75.78, 323.95°)
OKLaboklab(52.74% 0.1633 -0.1245)
OKLCHoklch(52.74% 0.205 322.7)
XYZxyz(22.9942, 12.5422, 41.2459)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F30AE #3FAE30
analogous
#6030AE #9F30AE #AE307E
triadic
#9F30AE #AE9F30 #30AE9F
tetradic
#9F30AE #AE6030 #3FAE30 #307EAE
square
#9F30AE #AE6030 #3FAE30 #307EAE
split-complementary
#9F30AE #7EAE30 #30AE60
monochromatic
#47164E #73237E #9F30AE #BF4DCE #D07DDB

Accessibility & contrast

On white

5.99
#9F30AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9F30AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F30AE
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F30AE#FFFFFF#000000##FFFFFF
##9F30AE1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#4368AB
Tritanopia (blue-blind)
#A1476C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f30ae;
/* rgb */ color: rgb(159, 48, 174);
/* oklch */ color: oklch(52.7% 0.205 322.7);
Tailwind
colors: {
  custom: {
    50: '#bf73c7',
    500: '#9f30ae',
    950: '#000000',
  },
}
SCSS
$custom: #9f30ae;
$custom-light: #bf73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f30ae",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 292.857,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52735,
    "c": 0.20535,
    "h": 322.7
  },
  "luminance": 0.12541
}

Semantic roles & 50–950 ramp

primary
#9F30AE
secondary
#7FC476
accent
#E0485A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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