#9848AF#9848AF

#9848AF is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.5% C 0.171 H 318.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9848AF
RGBrgb(152, 72, 175)
HSLhsl(287, 42%, 48%)
HSVhsv(287, 59%, 69%)
CMYKcmyk(13.1%, 58.9%, 0%, 31.4%)
CIE-LABlab(44.81, 49.48, -40.88)
CIE-LCHlch(44.81, 64.18, 320.44°)
OKLaboklab(54.53% 0.1272 -0.114)
OKLCHoklch(54.53% 0.171 318.1)
XYZxyz(23.0031, 14.4062, 42.1181)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9848AF #5FAF48
analogous
#6448AF #9848AF #AF4892
triadic
#9848AF #AF9848 #48AF98
tetradic
#9848AF #AF6448 #5FAF48 #4892AF
square
#9848AF #AF6448 #5FAF48 #4892AF
split-complementary
#9848AF #92AF48 #48AF64
monochromatic
#4D2458 #723684 #9848AF #B170C4 #C99BD6

Accessibility & contrast

On white

5.41
#9848AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9848AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9848AF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9848AF#FFFFFF#000000##FFFFFF
##9848AF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9848af;
/* rgb */ color: rgb(152, 72, 175);
/* oklch */ color: oklch(54.5% 0.171 318.1);
Tailwind
colors: {
  custom: {
    50: '#b97fc7',
    500: '#9848af',
    950: '#000000',
  },
}
SCSS
$custom: #9848af;
$custom-light: #b97fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9848af",
  "rgb": {
    "r": 152,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 286.602,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54526,
    "c": 0.17087,
    "h": 318.1
  },
  "luminance": 0.14405
}

Semantic roles & 50–950 ramp

primary
#9848AF
secondary
#9CC290
accent
#D25672
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9848AF

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

Preview Lab → · Contrast checker → · Palette generator →

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