#9F23AE#9F23AE

#9F23AE is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.7% C 0.218 H 323.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9F23AE
RGBrgb(159, 35, 174)
HSLhsl(294, 67%, 41%)
HSVhsv(294, 80%, 68%)
CMYKcmyk(8.6%, 79.9%, 0%, 31.8%)
CIE-LABlab(40.62, 65.42, -46.91)
CIE-LCHlch(40.62, 80.50, 324.36°)
OKLaboklab(51.71% 0.1745 -0.1312)
OKLCHoklch(51.71% 0.218 323.1)
XYZxyz(22.5384, 11.6304, 41.0939)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F23AE #32AE23
analogous
#5923AE #9F23AE #AE2377
triadic
#9F23AE #AE9F23 #23AE9F
tetradic
#9F23AE #AE5923 #32AE23 #2377AE
square
#9F23AE #AE5923 #32AE23 #2377AE
split-complementary
#9F23AE #77AE23 #23AE59
monochromatic
#420F48 #70197B #9F23AE #C637D7 #D46AE1

Accessibility & contrast

On white

6.31
#9F23AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9F23AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F23AE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F23AE#FFFFFF#000000##FFFFFF
##9F23AE1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#3C64AB
Tritanopia (blue-blind)
#A14069
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f23ae;
/* rgb */ color: rgb(159, 35, 174);
/* oklch */ color: oklch(51.7% 0.218 323.1);
Tailwind
colors: {
  custom: {
    50: '#c06ec7',
    500: '#9f23ae',
    950: '#000000',
  },
}
SCSS
$custom: #9f23ae;
$custom-light: #c06ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f23ae",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 293.525,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5171,
    "c": 0.21835,
    "h": 323.1
  },
  "luminance": 0.11629
}

Semantic roles & 50–950 ramp

primary
#9F23AE
secondary
#70C766
accent
#E93E51
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9F23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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