#9843AC#9843AC

#9843AC is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.7% C 0.175 H 319.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9843AC
RGBrgb(152, 67, 172)
HSLhsl(289, 44%, 47%)
HSVhsv(289, 61%, 67%)
CMYKcmyk(11.6%, 61%, 0%, 32.5%)
CIE-LABlab(43.75, 51.29, -40.78)
CIE-LCHlch(43.75, 65.53, 321.51°)
OKLaboklab(53.7% 0.1335 -0.1137)
OKLCHoklch(53.7% 0.175 319.6)
XYZxyz(22.4015, 13.6693, 40.4802)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9843AC #57AC43
analogous
#6343AC #9843AC #AC438C
triadic
#9843AC #AC9843 #43AC98
tetradic
#9843AC #AC6343 #57AC43 #438CAC
square
#9843AC #AC6343 #57AC43 #438CAC
split-complementary
#9843AC #8CAC43 #43AC63
monochromatic
#4A2154 #713280 #9843AC #B368C4 #C994D5

Accessibility & contrast

On white

5.62
#9843AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9843AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9843AC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9843AC#FFFFFF#000000##FFFFFF
##9843AC1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2962AF
Deuteranopia (green-blind)
#4B6AA9
Tritanopia (blue-blind)
#985471
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9843ac;
/* rgb */ color: rgb(152, 67, 172);
/* oklch */ color: oklch(53.7% 0.175 319.6);
Tailwind
colors: {
  custom: {
    50: '#b97cc5',
    500: '#9843ac',
    950: '#000000',
  },
}
SCSS
$custom: #9843ac;
$custom-light: #b97cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#9843ac",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 172
  },
  "hsl": {
    "h": 288.571,
    "s": 43.933,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53704,
    "c": 0.17541,
    "h": 319.6
  },
  "luminance": 0.13668
}

Semantic roles & 50–950 ramp

primary
#9843AC
secondary
#94C18A
accent
#D4546C
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9843AC

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

Preview Lab → · Contrast checker → · Palette generator →

#9843AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva