#9849BA#9849BA

#9849BA is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.3% C 0.181 H 314.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9849BA
RGBrgb(152, 73, 186)
HSLhsl(282, 45%, 51%)
HSVhsv(282, 61%, 73%)
CMYKcmyk(18.3%, 60.8%, 0%, 27.1%)
CIE-LABlab(45.62, 51.29, -46.05)
CIE-LCHlch(45.62, 68.93, 318.08°)
OKLaboklab(55.31% 0.1263 -0.1291)
OKLCHoklch(55.31% 0.181 314.4)
XYZxyz(24.1929, 14.9864, 48.0631)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849BA #6BBA49
analogous
#5F49BA #9849BA #BA49A3
triadic
#9849BA #BA9849 #49BA98
tetradic
#9849BA #BA5F49 #6BBA49 #49A3BA
square
#9849BA #BA5F49 #6BBA49 #49A3BA
split-complementary
#9849BA #A3BA49 #49BA5F
monochromatic
#512663 #75368F #9849BA #B175CB #CAA2DC

Accessibility & contrast

On white

5.25
#9849BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9849BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849BA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849BA#FFFFFF#000000##FFFFFF
##9849BA1.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)
#2468BE
Deuteranopia (green-blind)
#466EB7
Tritanopia (blue-blind)
#955D7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9849ba;
/* rgb */ color: rgb(152, 73, 186);
/* oklch */ color: oklch(55.3% 0.181 314.4);
Tailwind
colors: {
  custom: {
    50: '#b980cf',
    500: '#9849ba',
    950: '#000000',
  },
}
SCSS
$custom: #9849ba;
$custom-light: #b980cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9849ba",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 281.947,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55314,
    "c": 0.18061,
    "h": 314.4
  },
  "luminance": 0.14986
}

Semantic roles & 50–950 ramp

primary
#9849BA
secondary
#A5C896
accent
#D5537A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9849BA

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

Preview Lab → · Contrast checker → · Palette generator →

#9849BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva