#9849DC#9849DC

#9849DC is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.5% C 0.216 H 305.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9849DC
RGBrgb(152, 73, 220)
HSLhsl(272, 68%, 57%)
HSVhsv(272, 67%, 86%)
CMYKcmyk(30.9%, 66.8%, 0%, 13.7%)
CIE-LABlab(47.76, 58.83, -62.20)
CIE-LCHlch(47.76, 85.61, 313.41°)
OKLaboklab(57.55% 0.1245 -0.1765)
OKLCHoklch(57.55% 0.216 305.2)
XYZxyz(28.2468, 16.6080, 69.4138)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849DC #8DDC49
analogous
#4F49DC #9849DC #DC49D6
triadic
#9849DC #DC9849 #49DC98
tetradic
#9849DC #DC4F49 #8DDC49 #49D6DC
square
#9849DC #DC4F49 #8DDC49 #49D6DC
split-complementary
#9849DC #D6DC49 #49DC4F
monochromatic
#5A1C8F #7A25C2 #9849DC #B57CE6 #D2B0F0

Accessibility & contrast

On white

4.86
#9849DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9849DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849DC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849DC#FFFFFF#000000##FFFFFF
##9849DC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#1971D9
Tritanopia (blue-blind)
#8C6A8D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9849dc;
/* rgb */ color: rgb(152, 73, 220);
/* oklch */ color: oklch(57.5% 0.216 305.2);
Tailwind
colors: {
  custom: {
    50: '#bb81e8',
    500: '#9849dc',
    950: '#000000',
  },
}
SCSS
$custom: #9849dc;
$custom-light: #bb81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9849dc",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 220
  },
  "hsl": {
    "h": 272.245,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57549,
    "c": 0.21597,
    "h": 305.2
  },
  "luminance": 0.16608
}

Semantic roles & 50–950 ramp

primary
#9849DC
secondary
#BEDEA3
accent
#EB3D8D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9849DC

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

Preview Lab → · Contrast checker → · Palette generator →

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