#9849DD#9849DD

#9849DD is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.6% C 0.217 H 305.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9849DD
RGBrgb(152, 73, 221)
HSLhsl(272, 69%, 58%)
HSVhsv(272, 67%, 87%)
CMYKcmyk(31.2%, 67%, 0%, 13.3%)
CIE-LABlab(47.83, 59.06, -62.66)
CIE-LCHlch(47.83, 86.10, 313.31°)
OKLaboklab(57.62% 0.1244 -0.1778)
OKLCHoklch(57.62% 0.217 305)
XYZxyz(28.3797, 16.6611, 70.1134)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849DD #8EDD49
analogous
#4E49DD #9849DD #DD49D8
triadic
#9849DD #DD9849 #49DD98
tetradic
#9849DD #DD4E49 #8EDD49 #49D8DD
square
#9849DD #DD4E49 #8EDD49 #49D8DD
split-complementary
#9849DD #D8DD49 #49DD4E
monochromatic
#5A1B91 #7A25C4 #9849DD #B57DE7 #D2B0F0

Accessibility & contrast

On white

4.85
#9849DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9849DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849DD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849DD#FFFFFF#000000##FFFFFF
##9849DD1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#1672DA
Tritanopia (blue-blind)
#8B6A8D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9849dd;
/* rgb */ color: rgb(152, 73, 221);
/* oklch */ color: oklch(57.6% 0.217 305.0);
Tailwind
colors: {
  custom: {
    50: '#bb81e8',
    500: '#9849dd',
    950: '#000000',
  },
}
SCSS
$custom: #9849dd;
$custom-light: #bb81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9849dd",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 221
  },
  "hsl": {
    "h": 272.027,
    "s": 68.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5762,
    "c": 0.21701,
    "h": 305
  },
  "luminance": 0.16661
}

Semantic roles & 50–950 ramp

primary
#9849DD
secondary
#BFDFA3
accent
#EB3C8E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9849DD

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

Preview Lab → · Contrast checker → · Palette generator →

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