#9F26AF#9F26AF

#9F26AF is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.216 H 322.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9F26AF
RGBrgb(159, 38, 175)
HSLhsl(293, 64%, 42%)
HSVhsv(293, 78%, 69%)
CMYKcmyk(9.1%, 78.3%, 0%, 31.4%)
CIE-LABlab(40.98, 64.73, -46.93)
CIE-LCHlch(40.98, 79.95, 324.06°)
OKLaboklab(51.99% 0.1721 -0.1313)
OKLCHoklch(51.99% 0.216 322.7)
XYZxyz(22.7283, 11.8537, 41.6400)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F26AF #36AF26
analogous
#5B26AF #9F26AF #AF267B
triadic
#9F26AF #AF9F26 #26AF9F
tetradic
#9F26AF #AF5B26 #36AF26 #267BAF
square
#9F26AF #AF5B26 #36AF26 #267BAF
split-complementary
#9F26AF #7BAF26 #26AF5B
monochromatic
#44104A #711B7D #9F26AF #C33DD5 #D370E0

Accessibility & contrast

On white

6.23
#9F26AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9F26AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F26AF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F26AF#FFFFFF#000000##FFFFFF
##9F26AF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#3D65AC
Tritanopia (blue-blind)
#A1426A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f26af;
/* rgb */ color: rgb(159, 38, 175);
/* oklch */ color: oklch(52.0% 0.216 322.7);
Tailwind
colors: {
  custom: {
    50: '#bf6fc7',
    500: '#9f26af',
    950: '#000000',
  },
}
SCSS
$custom: #9f26af;
$custom-light: #bf6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f26af",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 292.993,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51985,
    "c": 0.21645,
    "h": 322.7
  },
  "luminance": 0.11852
}

Semantic roles & 50–950 ramp

primary
#9F26AF
secondary
#75C76A
accent
#E74054
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9F26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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