#9F38AA#9F38AA

#9F38AA is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.192 H 323.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9F38AA
RGBrgb(159, 56, 170)
HSLhsl(294, 50%, 44%)
HSVhsv(294, 67%, 67%)
CMYKcmyk(6.5%, 67.1%, 0%, 33.3%)
CIE-LABlab(42.92, 57.47, -40.87)
CIE-LCHlch(42.92, 70.52, 324.58°)
OKLaboklab(53.27% 0.155 -0.1137)
OKLCHoklch(53.27% 0.192 323.7)
XYZxyz(22.9673, 13.1029, 39.3418)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F38AA #43AA38
analogous
#6638AA #9F38AA #AA387C
triadic
#9F38AA #AA9F38 #38AA9F
tetradic
#9F38AA #AA6638 #43AA38 #387CAA
square
#9F38AA #AA6638 #43AA38 #387CAA
split-complementary
#9F38AA #7CAA38 #38AA66
monochromatic
#491A4E #74297C #9F38AA #BD57C8 #CF85D7

Accessibility & contrast

On white

5.80
#9F38AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9F38AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F38AA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F38AA#FFFFFF#000000##FFFFFF
##9F38AA1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5DAD
Deuteranopia (green-blind)
#4B6AA7
Tritanopia (blue-blind)
#A24A6C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f38aa;
/* rgb */ color: rgb(159, 56, 170);
/* oklch */ color: oklch(53.3% 0.192 323.7);
Tailwind
colors: {
  custom: {
    50: '#bf77c4',
    500: '#9f38aa',
    950: '#000000',
  },
}
SCSS
$custom: #9f38aa;
$custom-light: #bf77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f38aa",
  "rgb": {
    "r": 159,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 294.211,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53271,
    "c": 0.19223,
    "h": 323.7
  },
  "luminance": 0.13102
}

Semantic roles & 50–950 ramp

primary
#9F38AA
secondary
#84C17D
accent
#DA4E5B
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F38AA

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

Preview Lab → · Contrast checker → · Palette generator →

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