#9849D8#9849D8

#9849D8 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.212 H 306.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9849D8
RGBrgb(152, 73, 216)
HSLhsl(273, 65%, 57%)
HSVhsv(273, 66%, 85%)
CMYKcmyk(29.6%, 66.2%, 0%, 15.3%)
CIE-LABlab(47.49, 57.92, -60.35)
CIE-LCHlch(47.49, 83.64, 313.82°)
OKLaboklab(57.27% 0.1249 -0.1711)
OKLCHoklch(57.27% 0.212 306.1)
XYZxyz(27.7234, 16.3986, 66.6572)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849D8 #89D849
analogous
#5149D8 #9849D8 #D849D1
triadic
#9849D8 #D89849 #49D898
tetradic
#9849D8 #D85149 #89D849 #49D1D8
square
#9849D8 #D85149 #89D849 #49D1D8
split-complementary
#9849D8 #D1D849 #49D851
monochromatic
#591D89 #7A28BC #9849D8 #B57BE3 #D1AEEE

Accessibility & contrast

On white

4.91
#9849D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9849D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849D8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849D8#FFFFFF#000000##FFFFFF
##9849D81.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#2271D5
Tritanopia (blue-blind)
#8D688B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9849d8;
/* rgb */ color: rgb(152, 73, 216);
/* oklch */ color: oklch(57.3% 0.212 306.1);
Tailwind
colors: {
  custom: {
    50: '#bb81e5',
    500: '#9849d8',
    950: '#000000',
  },
}
SCSS
$custom: #9849d8;
$custom-light: #bb81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9849d8",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 216
  },
  "hsl": {
    "h": 273.147,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57271,
    "c": 0.2118,
    "h": 306.1
  },
  "luminance": 0.16398
}

Semantic roles & 50–950 ramp

primary
#9849D8
secondary
#BBDCA1
accent
#E8408B
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9849D8

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

Preview Lab → · Contrast checker → · Palette generator →

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