#9723A8#9723A8

#9723A8 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.210 H 322.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9723A8
RGBrgb(151, 35, 168)
HSLhsl(292, 66%, 40%)
HSVhsv(292, 79%, 66%)
CMYKcmyk(10.1%, 79.2%, 0%, 34.1%)
CIE-LABlab(38.92, 62.81, -46.14)
CIE-LCHlch(38.92, 77.94, 323.70°)
OKLaboklab(50.12% 0.166 -0.1292)
OKLCHoklch(50.12% 0.21 322.1)
XYZxyz(20.4307, 10.6097, 38.0099)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9723A8 #34A823
analogous
#5523A8 #9723A8 #A82376
triadic
#9723A8 #A89723 #23A897
tetradic
#9723A8 #A85523 #34A823 #2376A8
square
#9723A8 #A85523 #34A823 #2376A8
split-complementary
#9723A8 #76A823 #23A855
monochromatic
#3C0E43 #691875 #9723A8 #C034D5 #D066DF

Accessibility & contrast

On white

6.73
#9723A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9723A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9723A8
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9723A8#FFFFFF#000000##FFFFFF
##9723A81.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AC
Deuteranopia (green-blind)
#3860A5
Tritanopia (blue-blind)
#993F66
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9723a8;
/* rgb */ color: rgb(151, 35, 168);
/* oklch */ color: oklch(50.1% 0.210 322.1);
Tailwind
colors: {
  custom: {
    50: '#ba6dc2',
    500: '#9723a8',
    950: '#000000',
  },
}
SCSS
$custom: #9723a8;
$custom-light: #ba6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9723a8",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 292.331,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50124,
    "c": 0.21036,
    "h": 322.1
  },
  "luminance": 0.10609
}

Semantic roles & 50–950 ramp

primary
#9723A8
secondary
#6FC562
accent
#E83F55
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9723A8

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

Preview Lab → · Contrast checker → · Palette generator →

#9723A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva