#9849D2#9849D2

#9849D2 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.206 H 307.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9849D2
RGBrgb(152, 73, 210)
HSLhsl(275, 60%, 55%)
HSVhsv(275, 65%, 82%)
CMYKcmyk(27.6%, 65.2%, 0%, 17.6%)
CIE-LABlab(47.10, 56.56, -57.56)
CIE-LCHlch(47.10, 80.69, 314.50°)
OKLaboklab(56.86% 0.1254 -0.1629)
OKLCHoklch(56.86% 0.206 307.6)
XYZxyz(26.9619, 16.0940, 62.6464)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849D2 #83D249
analogous
#5449D2 #9849D2 #D249C7
triadic
#9849D2 #D29849 #49D298
tetradic
#9849D2 #D25449 #83D249 #49C7D2
square
#9849D2 #D25449 #83D249 #49C7D2
split-complementary
#9849D2 #C7D249 #49D254
monochromatic
#582081 #792CB2 #9849D2 #B47ADE #D0ABEA

Accessibility & contrast

On white

4.98
#9849D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9849D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849D2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849D2#FFFFFF#000000##FFFFFF
##9849D21.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#2D70CF
Tritanopia (blue-blind)
#8F6687
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9849d2;
/* rgb */ color: rgb(152, 73, 210);
/* oklch */ color: oklch(56.9% 0.206 307.6);
Tailwind
colors: {
  custom: {
    50: '#bb81e1',
    500: '#9849d2',
    950: '#000000',
  },
}
SCSS
$custom: #9849d2;
$custom-light: #bb81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9849d2",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 210
  },
  "hsl": {
    "h": 274.599,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56861,
    "c": 0.20555,
    "h": 307.6
  },
  "luminance": 0.16094
}

Semantic roles & 50–950 ramp

primary
#9849D2
secondary
#B7D89F
accent
#E34488
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9849D2

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

Preview Lab → · Contrast checker → · Palette generator →

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