#9848BB#9848BB

#9848BB is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.2% C 0.183 H 314.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9848BB
RGBrgb(152, 72, 187)
HSLhsl(282, 46%, 51%)
HSVhsv(282, 61%, 73%)
CMYKcmyk(18.7%, 61.5%, 0%, 26.7%)
CIE-LABlab(45.50, 51.99, -46.82)
CIE-LCHlch(45.50, 69.97, 317.99°)
OKLaboklab(55.25% 0.1275 -0.1314)
OKLCHoklch(55.25% 0.183 314.1)
XYZxyz(24.2344, 14.8987, 48.6032)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9848BB #6BBB48
analogous
#5E48BB #9848BB #BB48A4
triadic
#9848BB #BB9848 #48BB98
tetradic
#9848BB #BB5E48 #6BBB48 #48A4BB
square
#9848BB #BB5E48 #6BBB48 #48A4BB
split-complementary
#9848BB #A4BB48 #48BB5E
monochromatic
#512564 #753690 #9848BB #B175CC #CAA1DC

Accessibility & contrast

On white

5.28
#9848BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9848BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9848BB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9848BB#FFFFFF#000000##FFFFFF
##9848BB1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BF
Deuteranopia (green-blind)
#446EB8
Tritanopia (blue-blind)
#955D7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9848bb;
/* rgb */ color: rgb(152, 72, 187);
/* oklch */ color: oklch(55.2% 0.183 314.1);
Tailwind
colors: {
  custom: {
    50: '#b980d0',
    500: '#9848bb',
    950: '#000000',
  },
}
SCSS
$custom: #9848bb;
$custom-light: #b980d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9848bb",
  "rgb": {
    "r": 152,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 281.739,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55246,
    "c": 0.1831,
    "h": 314.1
  },
  "luminance": 0.14898
}

Semantic roles & 50–950 ramp

primary
#9848BB
secondary
#A5C996
accent
#D5527A
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9848BB

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

Preview Lab → · Contrast checker → · Palette generator →

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