#9849BE#9849BE

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

Color values

HEX#9849BE
RGBrgb(152, 73, 190)
HSLhsl(281, 47%, 52%)
HSVhsv(281, 62%, 75%)
CMYKcmyk(20%, 61.6%, 0%, 25.5%)
CIE-LABlab(45.85, 52.15, -48.00)
CIE-LCHlch(45.85, 70.88, 317.37°)
OKLaboklab(55.56% 0.1263 -0.1348)
OKLCHoklch(55.56% 0.185 313.1)
XYZxyz(24.6241, 15.1589, 50.3340)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849BE #6FBE49
analogous
#5E49BE #9849BE #BE49A9
triadic
#9849BE #BE9849 #49BE98
tetradic
#9849BE #BE5E49 #6FBE49 #49A9BE
square
#9849BE #BE5E49 #6FBE49 #49A9BE
split-complementary
#9849BE #A9BE49 #49BE5E
monochromatic
#522568 #763595 #9849BE #B276CE #CBA3DE

Accessibility & contrast

On white

5.21
#9849BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9849BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849BE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849BE#FFFFFF#000000##FFFFFF
##9849BE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9849be;
/* rgb */ color: rgb(152, 73, 190);
/* oklch */ color: oklch(55.6% 0.185 313.1);
Tailwind
colors: {
  custom: {
    50: '#b980d2',
    500: '#9849be',
    950: '#000000',
  },
}
SCSS
$custom: #9849be;
$custom-light: #b980d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9849be",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 190
  },
  "hsl": {
    "h": 280.513,
    "s": 47.368,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55561,
    "c": 0.18474,
    "h": 313.1
  },
  "luminance": 0.15158
}

Semantic roles & 50–950 ramp

primary
#9849BE
secondary
#A8CB98
accent
#D7517C
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9849BE

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

Preview Lab → · Contrast checker → · Palette generator →

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