#9849BF#9849BF

#9849BF is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.6% C 0.186 H 312.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9849BF
RGBrgb(152, 73, 191)
HSLhsl(280, 48%, 52%)
HSVhsv(280, 62%, 75%)
CMYKcmyk(20.4%, 61.8%, 0%, 25.1%)
CIE-LABlab(45.91, 52.36, -48.49)
CIE-LCHlch(45.91, 71.37, 317.20°)
OKLaboklab(55.62% 0.1263 -0.1363)
OKLCHoklch(55.62% 0.186 312.8)
XYZxyz(24.7338, 15.2027, 50.9116)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849BF #70BF49
analogous
#5D49BF #9849BF #BF49AB
triadic
#9849BF #BF9849 #49BF98
tetradic
#9849BF #BF5D49 #70BF49 #49ABBF
square
#9849BF #BF5D49 #70BF49 #49ABBF
split-complementary
#9849BF #ABBF49 #49BF5D
monochromatic
#522569 #763596 #9849BF #B276CF #CBA4DF

Accessibility & contrast

On white

5.20
#9849BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9849BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849BF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849BF#FFFFFF#000000##FFFFFF
##9849BF1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B69C3
Deuteranopia (green-blind)
#426FBC
Tritanopia (blue-blind)
#945F7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9849bf;
/* rgb */ color: rgb(152, 73, 191);
/* oklch */ color: oklch(55.6% 0.186 312.8);
Tailwind
colors: {
  custom: {
    50: '#b980d3',
    500: '#9849bf',
    950: '#000000',
  },
}
SCSS
$custom: #9849bf;
$custom-light: #b980d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9849bf",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 280.169,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55624,
    "c": 0.18578,
    "h": 312.8
  },
  "luminance": 0.15202
}

Semantic roles & 50–950 ramp

primary
#9849BF
secondary
#A9CC98
accent
#D8507D
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9849BF

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

Preview Lab → · Contrast checker → · Palette generator →

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