#9F26AE#9F26AE

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

Color values

HEX#9F26AE
RGBrgb(159, 38, 174)
HSLhsl(293, 64%, 42%)
HSVhsv(293, 78%, 68%)
CMYKcmyk(8.6%, 78.2%, 0%, 31.8%)
CIE-LABlab(40.92, 64.56, -46.43)
CIE-LCHlch(40.92, 79.52, 324.27°)
OKLaboklab(51.92% 0.1722 -0.1298)
OKLCHoklch(51.92% 0.216 323)
XYZxyz(22.6304, 11.8145, 41.1246)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F26AE #35AE26
analogous
#5B26AE #9F26AE #AE2679
triadic
#9F26AE #AE9F26 #26AE9F
tetradic
#9F26AE #AE5B26 #35AE26 #2679AE
square
#9F26AE #AE5B26 #35AE26 #2679AE
split-complementary
#9F26AE #79AE26 #26AE5B
monochromatic
#43104A #711B7C #9F26AE #C43DD5 #D36FE0

Accessibility & contrast

On white

6.25
#9F26AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9F26AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F26AE
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F26AE#FFFFFF#000000##FFFFFF
##9F26AE1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#3E65AB
Tritanopia (blue-blind)
#A1416A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f26ae;
/* rgb */ color: rgb(159, 38, 174);
/* oklch */ color: oklch(51.9% 0.216 323.0);
Tailwind
colors: {
  custom: {
    50: '#bf6fc7',
    500: '#9f26ae',
    950: '#000000',
  },
}
SCSS
$custom: #9f26ae;
$custom-light: #bf6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f26ae",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 293.382,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51921,
    "c": 0.21565,
    "h": 323
  },
  "luminance": 0.11813
}

Semantic roles & 50–950 ramp

primary
#9F26AE
secondary
#74C66A
accent
#E74153
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9F26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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