#9849AF#9849AF

#9849AF is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.7% C 0.169 H 318.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9849AF
RGBrgb(152, 73, 175)
HSLhsl(286, 41%, 49%)
HSVhsv(286, 58%, 69%)
CMYKcmyk(13.1%, 58.3%, 0%, 31.4%)
CIE-LABlab(44.99, 48.99, -40.59)
CIE-LCHlch(44.99, 63.62, 320.35°)
OKLaboklab(54.66% 0.1259 -0.1132)
OKLCHoklch(54.66% 0.169 318)
XYZxyz(23.0682, 14.5365, 42.1398)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849AF #60AF49
analogous
#6549AF #9849AF #AF4993
triadic
#9849AF #AF9849 #49AF98
tetradic
#9849AF #AF6549 #60AF49 #4993AF
square
#9849AF #AF6549 #60AF49 #4993AF
split-complementary
#9849AF #93AF49 #49AF65
monochromatic
#4D2559 #723784 #9849AF #B171C4 #C99CD6

Accessibility & contrast

On white

5.37
#9849AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9849AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849AF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849AF#FFFFFF#000000##FFFFFF
##9849AF1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#4D6DAC
Tritanopia (blue-blind)
#985975
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9849af;
/* rgb */ color: rgb(152, 73, 175);
/* oklch */ color: oklch(54.7% 0.169 318.0);
Tailwind
colors: {
  custom: {
    50: '#b980c7',
    500: '#9849af',
    950: '#000000',
  },
}
SCSS
$custom: #9849af;
$custom-light: #b980c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9849af",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 286.471,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54659,
    "c": 0.16934,
    "h": 318
  },
  "luminance": 0.14536
}

Semantic roles & 50–950 ramp

primary
#9849AF
secondary
#9CC291
accent
#D15772
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9849AF

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

Preview Lab → · Contrast checker → · Palette generator →

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