#9823A5#9823A5

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

Color values

HEX#9823A5
RGBrgb(152, 35, 165)
HSLhsl(294, 65%, 39%)
HSVhsv(294, 79%, 65%)
CMYKcmyk(7.9%, 78.8%, 0%, 35.3%)
CIE-LABlab(38.89, 62.48, -44.38)
CIE-LCHlch(38.89, 76.63, 324.62°)
OKLaboklab(50.08% 0.1674 -0.124)
OKLCHoklch(50.08% 0.208 323.5)
XYZxyz(20.3408, 10.5953, 36.5637)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9823A5 #30A523
analogous
#5723A5 #9823A5 #A52371
triadic
#9823A5 #A59823 #23A598
tetradic
#9823A5 #A55723 #30A523 #2371A5
square
#9823A5 #A55723 #30A523 #2371A5
split-complementary
#9823A5 #71A523 #23A557
monochromatic
#3B0E40 #691873 #9823A5 #C332D3 #D264DE

Accessibility & contrast

On white

6.73
#9823A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9823A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9823A5
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9823A5#FFFFFF#000000##FFFFFF
##9823A51.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)
#0053A8
Deuteranopia (green-blind)
#3B60A2
Tritanopia (blue-blind)
#9B3D64
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9823a5;
/* rgb */ color: rgb(152, 35, 165);
/* oklch */ color: oklch(50.1% 0.208 323.5);
Tailwind
colors: {
  custom: {
    50: '#ba6dc0',
    500: '#9823a5',
    950: '#000000',
  },
}
SCSS
$custom: #9823a5;
$custom-light: #ba6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9823a5",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 294,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50078,
    "c": 0.20836,
    "h": 323.5
  },
  "luminance": 0.10594
}

Semantic roles & 50–950 ramp

primary
#9823A5
secondary
#6AC460
accent
#E84051
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9823A5

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

Preview Lab → · Contrast checker → · Palette generator →

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