#9823A0#9823A0

#9823A0 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.204 H 325.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9823A0
RGBrgb(152, 35, 160)
HSLhsl(296, 64%, 38%)
HSVhsv(296, 78%, 63%)
CMYKcmyk(5%, 78.1%, 0%, 37.3%)
CIE-LABlab(38.58, 61.61, -41.87)
CIE-LCHlch(38.58, 74.49, 325.80°)
OKLaboklab(49.76% 0.1678 -0.1167)
OKLCHoklch(49.76% 0.204 325.2)
XYZxyz(19.8946, 10.4169, 34.2137)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9823A0 #2BA023
analogous
#5923A0 #9823A0 #A02369
triadic
#9823A0 #A09823 #23A098
tetradic
#9823A0 #A05923 #2BA023 #2369A0
square
#9823A0 #A05923 #2BA023 #2369A0
split-complementary
#9823A0 #69A023 #23A059
monochromatic
#390D3C #68186E #9823A0 #C72FD1 #D561DC

Accessibility & contrast

On white

6.81
#9823A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9823A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9823A0
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9823A0#FFFFFF#000000##FFFFFF
##9823A01.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#3F609D
Tritanopia (blue-blind)
#9B3A61
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9823a0;
/* rgb */ color: rgb(152, 35, 160);
/* oklch */ color: oklch(49.8% 0.204 325.2);
Tailwind
colors: {
  custom: {
    50: '#ba6cbd',
    500: '#9823a0',
    950: '#000000',
  },
}
SCSS
$custom: #9823a0;
$custom-light: #ba6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9823a0",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 296.16,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49759,
    "c": 0.2044,
    "h": 325.2
  },
  "luminance": 0.10416
}

Semantic roles & 50–950 ramp

primary
#9823A0
secondary
#64C15D
accent
#E7414B
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9823A0

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

Preview Lab → · Contrast checker → · Palette generator →

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