#9F26AD#9F26AD

#9F26AD is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.215 H 323.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9F26AD
RGBrgb(159, 38, 173)
HSLhsl(294, 64%, 41%)
HSVhsv(294, 78%, 68%)
CMYKcmyk(8.1%, 78%, 0%, 32.2%)
CIE-LABlab(40.86, 64.38, -45.94)
CIE-LCHlch(40.86, 79.09, 324.49°)
OKLaboklab(51.86% 0.1723 -0.1284)
OKLCHoklch(51.86% 0.215 323.3)
XYZxyz(22.5333, 11.7757, 40.6131)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F26AD #34AD26
analogous
#5C26AD #9F26AD #AD2678
triadic
#9F26AD #AD9F26 #26AD9F
tetradic
#9F26AD #AD5C26 #34AD26 #2678AD
square
#9F26AD #AD5C26 #34AD26 #2678AD
split-complementary
#9F26AD #78AD26 #26AD5C
monochromatic
#431049 #711B7B #9F26AD #C43CD4 #D36EDF

Accessibility & contrast

On white

6.26
#9F26AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9F26AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F26AD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F26AD#FFFFFF#000000##FFFFFF
##9F26AD1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#3E65AA
Tritanopia (blue-blind)
#A24169
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f26ad;
/* rgb */ color: rgb(159, 38, 173);
/* oklch */ color: oklch(51.9% 0.215 323.3);
Tailwind
colors: {
  custom: {
    50: '#bf6fc6',
    500: '#9f26ad',
    950: '#000000',
  },
}
SCSS
$custom: #9f26ad;
$custom-light: #bf6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f26ad",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 293.778,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51856,
    "c": 0.21486,
    "h": 323.3
  },
  "luminance": 0.11774
}

Semantic roles & 50–950 ramp

primary
#9F26AD
secondary
#73C669
accent
#E74152
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9F26AD

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

Preview Lab → · Contrast checker → · Palette generator →

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