#9848A5#9848A5

#9848A5 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.0% C 0.161 H 321.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9848A5
RGBrgb(152, 72, 165)
HSLhsl(292, 39%, 46%)
HSVhsv(292, 56%, 65%)
CMYKcmyk(7.9%, 56.4%, 0%, 35.3%)
CIE-LABlab(44.27, 47.46, -35.82)
CIE-LCHlch(44.27, 59.46, 322.96°)
OKLaboklab(53.96% 0.1265 -0.0993)
OKLCHoklch(53.96% 0.161 321.9)
XYZxyz(22.0571, 14.0278, 37.1358)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9848A5 #55A548
analogous
#6A48A5 #9848A5 #A54884
triadic
#9848A5 #A59848 #48A598
tetradic
#9848A5 #A56A48 #55A548 #4884A5
square
#9848A5 #A56A48 #55A548 #4884A5
split-complementary
#9848A5 #84A548 #48A56A
monochromatic
#4A2350 #71357A #9848A5 #B36CBF #C996D1

Accessibility & contrast

On white

5.52
#9848A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9848A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9848A5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9848A5#FFFFFF#000000##FFFFFF
##9848A51.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3863A8
Deuteranopia (green-blind)
#526CA2
Tritanopia (blue-blind)
#9A5570
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9848a5;
/* rgb */ color: rgb(152, 72, 165);
/* oklch */ color: oklch(54.0% 0.161 321.9);
Tailwind
colors: {
  custom: {
    50: '#b97fc0',
    500: '#9848a5',
    950: '#000000',
  },
}
SCSS
$custom: #9848a5;
$custom-light: #b97fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9848a5",
  "rgb": {
    "r": 152,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 291.613,
    "s": 39.241,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53959,
    "c": 0.16088,
    "h": 321.9
  },
  "luminance": 0.14027
}

Semantic roles & 50–950 ramp

primary
#9848A5
secondary
#92BD8C
accent
#CF5969
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9848A5

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

Preview Lab → · Contrast checker → · Palette generator →

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