#9823AF#9823AF

#9823AF is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.216 H 320.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9823AF
RGBrgb(152, 35, 175)
HSLhsl(290, 67%, 41%)
HSVhsv(290, 80%, 69%)
CMYKcmyk(13.1%, 80%, 0%, 31.4%)
CIE-LABlab(39.54, 64.26, -49.31)
CIE-LCHlch(39.54, 81.00, 322.50°)
OKLaboklab(50.74% 0.1663 -0.1384)
OKLCHoklch(50.74% 0.216 320.2)
XYZxyz(21.2868, 10.9737, 41.5460)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9823AF #3AAF23
analogous
#5223AF #9823AF #AF2380
triadic
#9823AF #AF9823 #23AF98
tetradic
#9823AF #AF5223 #3AAF23 #2380AF
square
#9823AF #AF5223 #3AAF23 #2380AF
split-complementary
#9823AF #80AF23 #23AF52
monochromatic
#3F0F49 #6C197C #9823AF #BD38D7 #CE6BE1

Accessibility & contrast

On white

6.57
#9823AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9823AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9823AF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9823AF#FFFFFF#000000##FFFFFF
##9823AF1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#3261AC
Tritanopia (blue-blind)
#99426A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9823af;
/* rgb */ color: rgb(152, 35, 175);
/* oklch */ color: oklch(50.7% 0.216 320.2);
Tailwind
colors: {
  custom: {
    50: '#bb6dc8',
    500: '#9823af',
    950: '#000000',
  },
}
SCSS
$custom: #9823af;
$custom-light: #bb6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9823af",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 290.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5074,
    "c": 0.21641,
    "h": 320.2
  },
  "luminance": 0.10973
}

Semantic roles & 50–950 ramp

primary
#9823AF
secondary
#76C766
accent
#EA3E5A
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9823AF

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

Preview Lab → · Contrast checker → · Palette generator →

#9823AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva