#9849DE#9849DE

#9849DE is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.7% C 0.218 H 304.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9849DE
RGBrgb(152, 73, 222)
HSLhsl(272, 69%, 58%)
HSVhsv(272, 67%, 87%)
CMYKcmyk(31.5%, 67.1%, 0%, 12.9%)
CIE-LABlab(47.90, 59.29, -63.11)
CIE-LCHlch(47.90, 86.59, 313.21°)
OKLaboklab(57.69% 0.1242 -0.1792)
OKLCHoklch(57.69% 0.218 304.7)
XYZxyz(28.5133, 16.7146, 70.8172)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849DE #8FDE49
analogous
#4D49DE #9849DE #DE49D9
triadic
#9849DE #DE9849 #49DE98
tetradic
#9849DE #DE4D49 #8FDE49 #49D9DE
square
#9849DE #DE4D49 #8FDE49 #49D9DE
split-complementary
#9849DE #D9DE49 #49DE4D
monochromatic
#5A1A92 #7A24C6 #9849DE #B57DE7 #D3B1F1

Accessibility & contrast

On white

4.84
#9849DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9849DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849DE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849DE#FFFFFF#000000##FFFFFF
##9849DE1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#1272DB
Tritanopia (blue-blind)
#8B6A8E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9849de;
/* rgb */ color: rgb(152, 73, 222);
/* oklch */ color: oklch(57.7% 0.218 304.7);
Tailwind
colors: {
  custom: {
    50: '#bb81e9',
    500: '#9849de',
    950: '#000000',
  },
}
SCSS
$custom: #9849de;
$custom-light: #bb81e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9849de",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 222
  },
  "hsl": {
    "h": 271.812,
    "s": 69.302,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5769,
    "c": 0.21805,
    "h": 304.7
  },
  "luminance": 0.16714
}

Semantic roles & 50–950 ramp

primary
#9849DE
secondary
#C0DFA4
accent
#EC3C8F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9849DE

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

Preview Lab → · Contrast checker → · Palette generator →

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