#9F23B0#9F23B0

#9F23B0 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.220 H 322.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9F23B0
RGBrgb(159, 35, 176)
HSLhsl(293, 67%, 41%)
HSVhsv(293, 80%, 69%)
CMYKcmyk(9.7%, 80.1%, 0%, 31%)
CIE-LABlab(40.75, 65.77, -47.89)
CIE-LCHlch(40.75, 81.36, 323.94°)
OKLaboklab(51.84% 0.1743 -0.1341)
OKLCHoklch(51.84% 0.22 322.4)
XYZxyz(22.7348, 11.7089, 42.1284)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F23B0 #34B023
analogous
#5923B0 #9F23B0 #B0237B
triadic
#9F23B0 #B09F23 #23B09F
tetradic
#9F23B0 #B05923 #34B023 #237BB0
square
#9F23B0 #B05923 #34B023 #237BB0
split-complementary
#9F23B0 #7BB023 #23B059
monochromatic
#430F4A #71197D #9F23B0 #C439D8 #D36CE2

Accessibility & contrast

On white

6.28
#9F23B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9F23B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F23B0
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F23B0#FFFFFF#000000##FFFFFF
##9F23B01.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#3A65AD
Tritanopia (blue-blind)
#A1416A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f23b0;
/* rgb */ color: rgb(159, 35, 176);
/* oklch */ color: oklch(51.8% 0.220 322.4);
Tailwind
colors: {
  custom: {
    50: '#c06ec8',
    500: '#9f23b0',
    950: '#000000',
  },
}
SCSS
$custom: #9f23b0;
$custom-light: #c06ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f23b0",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 292.766,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51841,
    "c": 0.21991,
    "h": 322.4
  },
  "luminance": 0.11708
}

Semantic roles & 50–950 ramp

primary
#9F23B0
secondary
#73C867
accent
#EA3E53
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9F23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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