#9843AF#9843AF

#9843AF is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.9% C 0.178 H 318.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9843AF
RGBrgb(152, 67, 175)
HSLhsl(287, 45%, 47%)
HSVhsv(287, 62%, 69%)
CMYKcmyk(13.1%, 61.7%, 0%, 31.4%)
CIE-LABlab(43.92, 51.89, -42.29)
CIE-LCHlch(43.92, 66.94, 320.82°)
OKLaboklab(53.88% 0.1336 -0.1181)
OKLCHoklch(53.88% 0.178 318.5)
XYZxyz(22.6929, 13.7858, 42.0147)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9843AF #5AAF43
analogous
#6243AF #9843AF #AF4390
triadic
#9843AF #AF9843 #43AF98
tetradic
#9843AF #AF6243 #5AAF43 #4390AF
square
#9843AF #AF6243 #5AAF43 #4390AF
split-complementary
#9843AF #90AF43 #43AF62
monochromatic
#4B2156 #723283 #9843AF #B269C6 #C996D7

Accessibility & contrast

On white

5.59
#9843AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9843AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9843AF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9843AF#FFFFFF#000000##FFFFFF
##9843AF1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2662B2
Deuteranopia (green-blind)
#496BAC
Tritanopia (blue-blind)
#985573
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9843af;
/* rgb */ color: rgb(152, 67, 175);
/* oklch */ color: oklch(53.9% 0.178 318.5);
Tailwind
colors: {
  custom: {
    50: '#b97cc7',
    500: '#9843af',
    950: '#000000',
  },
}
SCSS
$custom: #9843af;
$custom-light: #b97cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9843af",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 175
  },
  "hsl": {
    "h": 287.222,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53881,
    "c": 0.17834,
    "h": 318.5
  },
  "luminance": 0.13785
}

Semantic roles & 50–950 ramp

primary
#9843AF
secondary
#97C28B
accent
#D4536F
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9843AF

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

Preview Lab → · Contrast checker → · Palette generator →

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