#9848BC#9848BC

#9848BC is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.3% C 0.184 H 313.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9848BC
RGBrgb(152, 72, 188)
HSLhsl(281, 46%, 51%)
HSVhsv(281, 62%, 74%)
CMYKcmyk(19.1%, 61.7%, 0%, 26.3%)
CIE-LABlab(45.55, 52.20, -47.31)
CIE-LCHlch(45.55, 70.45, 317.81°)
OKLaboklab(55.31% 0.1275 -0.1328)
OKLCHoklch(55.31% 0.184 313.8)
XYZxyz(24.3418, 14.9417, 49.1690)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9848BC #6CBC48
analogous
#5E48BC #9848BC #BC48A6
triadic
#9848BC #BC9848 #48BC98
tetradic
#9848BC #BC5E48 #6CBC48 #48A6BC
square
#9848BC #BC5E48 #6CBC48 #48A6BC
split-complementary
#9848BC #A6BC48 #48BC5E
monochromatic
#512565 #753592 #9848BC #B175CC #CAA2DD

Accessibility & contrast

On white

5.27
#9848BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9848BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9848BC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9848BC#FFFFFF#000000##FFFFFF
##9848BC1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67C0
Deuteranopia (green-blind)
#436EB9
Tritanopia (blue-blind)
#955D7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9848bc;
/* rgb */ color: rgb(152, 72, 188);
/* oklch */ color: oklch(55.3% 0.184 313.8);
Tailwind
colors: {
  custom: {
    50: '#b980d1',
    500: '#9848bc',
    950: '#000000',
  },
}
SCSS
$custom: #9848bc;
$custom-light: #b980d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9848bc",
  "rgb": {
    "r": 152,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 281.379,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55308,
    "c": 0.18413,
    "h": 313.8
  },
  "luminance": 0.14941
}

Semantic roles & 50–950 ramp

primary
#9848BC
secondary
#A6CA96
accent
#D6527B
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9848BC

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

Preview Lab → · Contrast checker → · Palette generator →

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