#9F1295#9F1295

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

Color values

HEX#9F1295
RGBrgb(159, 18, 149)
HSLhsl(304, 80%, 35%)
HSVhsv(304, 89%, 62%)
CMYKcmyk(0%, 88.7%, 6.3%, 37.6%)
CIE-LABlab(37.80, 65.21, -36.37)
CIE-LCHlch(37.80, 74.66, 330.85°)
OKLaboklab(49.23% 0.187 -0.1004)
OKLCHoklch(49.23% 0.212 331.8)
XYZxyz(19.9393, 9.9752, 29.3032)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1295 #129F1C
analogous
#62129F #9F1295 #9F124F
triadic
#9F1295 #959F12 #12959F
tetradic
#9F1295 #9F6212 #129F1C #124F9F
square
#9F1295 #9F6212 #129F1C #124F9F
split-complementary
#9F1295 #4F9F12 #129F62
monochromatic
#31062E #680C61 #9F1295 #D618C9 #EA42DE

Accessibility & contrast

On white

7.01
#9F1295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1295
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1295#FFFFFF#000000##FFFFFF
##9F12951.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#485F92
Tritanopia (blue-blind)
#A62A58
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1295;
/* rgb */ color: rgb(159, 18, 149);
/* oklch */ color: oklch(49.2% 0.212 331.8);
Tailwind
colors: {
  custom: {
    50: '#c068b4',
    500: '#9f1295',
    950: '#000000',
  },
}
SCSS
$custom: #9f1295;
$custom-light: #c068b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1295",
  "rgb": {
    "r": 159,
    "g": 18,
    "b": 149
  },
  "hsl": {
    "h": 304.255,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.49227,
    "c": 0.21223,
    "h": 331.8
  },
  "luminance": 0.09973
}

Semantic roles & 50–950 ramp

primary
#9F1295
secondary
#43CA4D
accent
#F64032
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1295

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

Preview Lab → · Contrast checker → · Palette generator →

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