#9F3293#9F3293

#9F3293 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.4% C 0.181 H 332.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9F3293
RGBrgb(159, 50, 147)
HSLhsl(307, 52%, 41%)
HSVhsv(307, 69%, 62%)
CMYKcmyk(0%, 68.6%, 7.5%, 37.6%)
CIE-LABlab(40.83, 55.88, -30.36)
CIE-LCHlch(40.83, 63.60, 331.48°)
OKLaboklab(51.37% 0.1607 -0.0832)
OKLCHoklch(51.37% 0.181 332.6)
XYZxyz(20.7052, 11.7604, 28.7776)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3293 #329F3E
analogous
#74329F #9F3293 #9F325C
triadic
#9F3293 #939F32 #32939F
tetradic
#9F3293 #9F7432 #329F3E #325C9F
square
#9F3293 #9F7432 #329F3E #325C9F
split-complementary
#9F3293 #5C9F32 #329F74
monochromatic
#42153D #702368 #9F3293 #C649B8 #D477CA

Accessibility & contrast

On white

6.27
#9F3293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9F3293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3293
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3293#FFFFFF#000000##FFFFFF
##9F32931.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5696
Deuteranopia (green-blind)
#546690
Tritanopia (blue-blind)
#A63C5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f3293;
/* rgb */ color: rgb(159, 50, 147);
/* oklch */ color: oklch(51.4% 0.181 332.6);
Tailwind
colors: {
  custom: {
    50: '#bf73b3',
    500: '#9f3293',
    950: '#000000',
  },
}
SCSS
$custom: #9f3293;
$custom-light: #bf73b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3293",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 306.606,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51366,
    "c": 0.18097,
    "h": 332.6
  },
  "luminance": 0.11759
}

Semantic roles & 50–950 ramp

primary
#9F3293
secondary
#70BD79
accent
#DC5C4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #9F3293

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

Preview Lab → · Contrast checker → · Palette generator →

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