#9849D9#9849D9

#9849D9 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.213 H 305.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9849D9
RGBrgb(152, 73, 217)
HSLhsl(273, 65%, 57%)
HSVhsv(273, 66%, 85%)
CMYKcmyk(30%, 66.4%, 0%, 14.9%)
CIE-LABlab(47.56, 58.14, -60.81)
CIE-LCHlch(47.56, 84.14, 313.71°)
OKLaboklab(57.34% 0.1248 -0.1724)
OKLCHoklch(57.34% 0.213 305.9)
XYZxyz(27.8531, 16.4505, 67.3401)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849D9 #8AD949
analogous
#5049D9 #9849D9 #D949D2
triadic
#9849D9 #D99849 #49D998
tetradic
#9849D9 #D95049 #8AD949 #49D2D9
square
#9849D9 #D95049 #8AD949 #49D2D9
split-complementary
#9849D9 #D2D949 #49D950
monochromatic
#591D8B #7A28BD #9849D9 #B57CE4 #D1AEEE

Accessibility & contrast

On white

4.90
#9849D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9849D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849D9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849D9#FFFFFF#000000##FFFFFF
##9849D91.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#2071D6
Tritanopia (blue-blind)
#8D688B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9849d9;
/* rgb */ color: rgb(152, 73, 217);
/* oklch */ color: oklch(57.3% 0.213 305.9);
Tailwind
colors: {
  custom: {
    50: '#bb81e6',
    500: '#9849d9',
    950: '#000000',
  },
}
SCSS
$custom: #9849d9;
$custom-light: #bb81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9849d9",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 217
  },
  "hsl": {
    "h": 272.917,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5734,
    "c": 0.21285,
    "h": 305.9
  },
  "luminance": 0.1645
}

Semantic roles & 50–950 ramp

primary
#9849D9
secondary
#BCDCA2
accent
#E83F8C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9849D9

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

Preview Lab → · Contrast checker → · Palette generator →

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