#9849D6#9849D6

#9849D6 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.210 H 306.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9849D6
RGBrgb(152, 73, 214)
HSLhsl(274, 63%, 56%)
HSVhsv(274, 66%, 84%)
CMYKcmyk(29%, 65.9%, 0%, 16.1%)
CIE-LABlab(47.36, 57.46, -59.42)
CIE-LCHlch(47.36, 82.66, 314.04°)
OKLaboklab(57.13% 0.1251 -0.1683)
OKLCHoklch(57.13% 0.21 306.6)
XYZxyz(27.4664, 16.2958, 65.3037)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849D6 #87D649
analogous
#5249D6 #9849D6 #D649CE
triadic
#9849D6 #D69849 #49D698
tetradic
#9849D6 #D65249 #87D649 #49CED6
square
#9849D6 #D65249 #87D649 #49CED6
split-complementary
#9849D6 #CED649 #49D652
monochromatic
#591E86 #7A2AB8 #9849D6 #B47BE1 #D1ADED

Accessibility & contrast

On white

4.93
#9849D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9849D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849D6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849D6#FFFFFF#000000##FFFFFF
##9849D61.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#2671D3
Tritanopia (blue-blind)
#8E6789
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9849d6;
/* rgb */ color: rgb(152, 73, 214);
/* oklch */ color: oklch(57.1% 0.210 306.6);
Tailwind
colors: {
  custom: {
    50: '#bb81e3',
    500: '#9849d6',
    950: '#000000',
  },
}
SCSS
$custom: #9849d6;
$custom-light: #bb81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9849d6",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 214
  },
  "hsl": {
    "h": 273.617,
    "s": 63.229,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57133,
    "c": 0.20972,
    "h": 306.6
  },
  "luminance": 0.16296
}

Semantic roles & 50–950 ramp

primary
#9849D6
secondary
#BADAA0
accent
#E6428A
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9849D6

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

Preview Lab → · Contrast checker → · Palette generator →

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