#9848BD#9848BD

#9848BD is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.4% C 0.185 H 313.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9848BD
RGBrgb(152, 72, 189)
HSLhsl(281, 47%, 51%)
HSVhsv(281, 62%, 74%)
CMYKcmyk(19.6%, 61.9%, 0%, 25.9%)
CIE-LABlab(45.61, 52.42, -47.80)
CIE-LCHlch(45.61, 70.94, 317.64°)
OKLaboklab(55.37% 0.1275 -0.1343)
OKLCHoklch(55.37% 0.185 313.5)
XYZxyz(24.4500, 14.9850, 49.7387)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9848BD #6DBD48
analogous
#5D48BD #9848BD #BD48A7
triadic
#9848BD #BD9848 #48BD98
tetradic
#9848BD #BD5D48 #6DBD48 #48A7BD
square
#9848BD #BD5D48 #6DBD48 #48A7BD
split-complementary
#9848BD #A7BD48 #48BD5D
monochromatic
#512566 #753593 #9848BD #B175CD #CBA2DD

Accessibility & contrast

On white

5.25
#9848BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9848BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9848BD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9848BD#FFFFFF#000000##FFFFFF
##9848BD1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C68C1
Deuteranopia (green-blind)
#426EBA
Tritanopia (blue-blind)
#945E7C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9848bd;
/* rgb */ color: rgb(152, 72, 189);
/* oklch */ color: oklch(55.4% 0.185 313.5);
Tailwind
colors: {
  custom: {
    50: '#b980d1',
    500: '#9848bd',
    950: '#000000',
  },
}
SCSS
$custom: #9848bd;
$custom-light: #b980d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9848bd",
  "rgb": {
    "r": 152,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 281.026,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5537,
    "c": 0.18516,
    "h": 313.5
  },
  "luminance": 0.14984
}

Semantic roles & 50–950 ramp

primary
#9848BD
secondary
#A7CA97
accent
#D7517B
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9848BD

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

Preview Lab → · Contrast checker → · Palette generator →

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