#9F1293#9F1293

#9F1293 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.211 H 332.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9F1293
RGBrgb(159, 18, 147)
HSLhsl(305, 80%, 35%)
HSVhsv(305, 89%, 62%)
CMYKcmyk(0%, 88.7%, 7.5%, 37.6%)
CIE-LABlab(37.68, 64.91, -35.33)
CIE-LCHlch(37.68, 73.90, 331.44°)
OKLaboklab(49.11% 0.187 -0.0974)
OKLCHoklch(49.11% 0.211 332.5)
XYZxyz(19.7810, 9.9119, 28.4695)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1293 #129F1E
analogous
#64129F #9F1293 #9F124D
triadic
#9F1293 #939F12 #12939F
tetradic
#9F1293 #9F6412 #129F1E #124D9F
square
#9F1293 #9F6412 #129F1E #124D9F
split-complementary
#9F1293 #4D9F12 #129F64
monochromatic
#31062D #680C60 #9F1293 #D618C6 #EA42DB

Accessibility & contrast

On white

7.04
#9F1293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9F1293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1293
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1293#FFFFFF#000000##FFFFFF
##9F12931.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D96
Deuteranopia (green-blind)
#495F90
Tritanopia (blue-blind)
#A62857
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1293;
/* rgb */ color: rgb(159, 18, 147);
/* oklch */ color: oklch(49.1% 0.211 332.5);
Tailwind
colors: {
  custom: {
    50: '#c068b3',
    500: '#9f1293',
    950: '#000000',
  },
}
SCSS
$custom: #9f1293;
$custom-light: #c068b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1293",
  "rgb": {
    "r": 159,
    "g": 18,
    "b": 147
  },
  "hsl": {
    "h": 305.106,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.49109,
    "c": 0.21086,
    "h": 332.5
  },
  "luminance": 0.0991
}

Semantic roles & 50–950 ramp

primary
#9F1293
secondary
#43CA4F
accent
#F64232
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1293

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

Preview Lab → · Contrast checker → · Palette generator →

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