#9F1294#9F1294

#9F1294 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.2% C 0.212 H 332.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9F1294
RGBrgb(159, 18, 148)
HSLhsl(305, 80%, 35%)
HSVhsv(305, 89%, 62%)
CMYKcmyk(0%, 88.7%, 6.9%, 37.6%)
CIE-LABlab(37.74, 65.06, -35.85)
CIE-LCHlch(37.74, 74.28, 331.14°)
OKLaboklab(49.17% 0.187 -0.0989)
OKLCHoklch(49.17% 0.212 332.1)
XYZxyz(19.8598, 9.9434, 28.8846)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1294 #129F1D
analogous
#64129F #9F1294 #9F124D
triadic
#9F1294 #949F12 #12949F
tetradic
#9F1294 #9F6412 #129F1D #124D9F
square
#9F1294 #9F6412 #129F1D #124D9F
split-complementary
#9F1294 #4D9F12 #129F64
monochromatic
#31062E #680C61 #9F1294 #D618C7 #EA42DC

Accessibility & contrast

On white

7.03
#9F1294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9F1294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1294
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1294#FFFFFF#000000##FFFFFF
##9F12941.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#485F91
Tritanopia (blue-blind)
#A62957
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1294;
/* rgb */ color: rgb(159, 18, 148);
/* oklch */ color: oklch(49.2% 0.212 332.1);
Tailwind
colors: {
  custom: {
    50: '#c068b4',
    500: '#9f1294',
    950: '#000000',
  },
}
SCSS
$custom: #9f1294;
$custom-light: #c068b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1294",
  "rgb": {
    "r": 159,
    "g": 18,
    "b": 148
  },
  "hsl": {
    "h": 304.681,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.49168,
    "c": 0.21154,
    "h": 332.1
  },
  "luminance": 0.09942
}

Semantic roles & 50–950 ramp

primary
#9F1294
secondary
#43CA4E
accent
#F64132
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1294

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

Preview Lab → · Contrast checker → · Palette generator →

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