#9F0F95#9F0F95

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

Color values

HEX#9F0F95
RGBrgb(159, 15, 149)
HSLhsl(304, 83%, 34%)
HSVhsv(304, 91%, 62%)
CMYKcmyk(0%, 90.6%, 6.3%, 37.6%)
CIE-LABlab(37.63, 65.69, -36.63)
CIE-LCHlch(37.63, 75.21, 330.85°)
OKLaboklab(49.11% 0.1884 -0.1011)
OKLCHoklch(49.11% 0.214 331.8)
XYZxyz(19.8938, 9.8843, 29.2881)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F0F95 #0F9F19
analogous
#610F9F #9F0F95 #9F0F4D
triadic
#9F0F95 #959F0F #0F959F
tetradic
#9F0F95 #9F610F #0F9F19 #0F4D9F
square
#9F0F95 #9F610F #0F9F19 #0F4D9F
split-complementary
#9F0F95 #4D9F0F #0F9F61
monochromatic
#2F042C #670A61 #9F0F95 #D714C9 #ED3CE0

Accessibility & contrast

On white

7.06
#9F0F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F0F95
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F0F95#FFFFFF#000000##FFFFFF
##9F0F951.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f0f95;
/* rgb */ color: rgb(159, 15, 149);
/* oklch */ color: oklch(49.1% 0.214 331.8);
Tailwind
colors: {
  custom: {
    50: '#c067b4',
    500: '#9f0f95',
    950: '#000000',
  },
}
SCSS
$custom: #9f0f95;
$custom-light: #c067b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f0f95",
  "rgb": {
    "r": 159,
    "g": 15,
    "b": 149
  },
  "hsl": {
    "h": 304.167,
    "s": 82.759,
    "l": 34.118
  },
  "oklch": {
    "l": 0.49111,
    "c": 0.21381,
    "h": 331.8
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#9F0F95
secondary
#3ECC48
accent
#F93D2F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F0F95

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

Preview Lab → · Contrast checker → · Palette generator →

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