#9F23A0#9F23A0

#9F23A0 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.208 H 327.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9F23A0
RGBrgb(159, 35, 160)
HSLhsl(300, 64%, 38%)
HSVhsv(300, 78%, 63%)
CMYKcmyk(0.6%, 78.1%, 0%, 37.3%)
CIE-LABlab(39.77, 63.05, -39.90)
CIE-LCHlch(39.77, 74.62, 327.67°)
OKLaboklab(50.83% 0.1755 -0.1107)
OKLCHoklch(50.83% 0.208 327.7)
XYZxyz(21.2440, 11.1126, 34.2769)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F23A0 #24A023
analogous
#6023A0 #9F23A0 #A02362
triadic
#9F23A0 #A09F23 #23A09F
tetradic
#9F23A0 #A06023 #24A023 #2362A0
square
#9F23A0 #A06023 #24A023 #2362A0
split-complementary
#9F23A0 #62A023 #23A060
monochromatic
#3B0D3C #6D186E #9F23A0 #D02FD1 #DB61DC

Accessibility & contrast

On white

6.52
#9F23A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9F23A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F23A0
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F23A0#FFFFFF#000000##FFFFFF
##9F23A01.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A3
Deuteranopia (green-blind)
#46639D
Tritanopia (blue-blind)
#A43961
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f23a0;
/* rgb */ color: rgb(159, 35, 160);
/* oklch */ color: oklch(50.8% 0.208 327.7);
Tailwind
colors: {
  custom: {
    50: '#bf6dbc',
    500: '#9f23a0',
    950: '#000000',
  },
}
SCSS
$custom: #9f23a0;
$custom-light: #bf6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f23a0",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 299.52,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50832,
    "c": 0.20753,
    "h": 327.7
  },
  "luminance": 0.11111
}

Semantic roles & 50–950 ramp

primary
#9F23A0
secondary
#5EC15D
accent
#E74142
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F23A0

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

Preview Lab → · Contrast checker → · Palette generator →

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