#9849D5#9849D5

#9849D5 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.1% C 0.209 H 306.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9849D5
RGBrgb(152, 73, 213)
HSLhsl(274, 63%, 56%)
HSVhsv(274, 66%, 84%)
CMYKcmyk(28.6%, 65.7%, 0%, 16.5%)
CIE-LABlab(47.29, 57.23, -58.96)
CIE-LCHlch(47.29, 82.17, 314.15°)
OKLaboklab(57.07% 0.1252 -0.167)
OKLCHoklch(57.07% 0.209 306.9)
XYZxyz(27.3391, 16.2449, 64.6332)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849D5 #86D549
analogous
#5249D5 #9849D5 #D549CC
triadic
#9849D5 #D59849 #49D598
tetradic
#9849D5 #D55249 #86D549 #49CCD5
square
#9849D5 #D55249 #86D549 #49CCD5
split-complementary
#9849D5 #CCD549 #49D552
monochromatic
#581F85 #792AB7 #9849D5 #B47BE0 #D0ACEC

Accessibility & contrast

On white

4.94
#9849D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9849D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849D5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849D5#FFFFFF#000000##FFFFFF
##9849D51.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#2871D2
Tritanopia (blue-blind)
#8E6789
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9849d5;
/* rgb */ color: rgb(152, 73, 213);
/* oklch */ color: oklch(57.1% 0.209 306.9);
Tailwind
colors: {
  custom: {
    50: '#bb81e3',
    500: '#9849d5',
    950: '#000000',
  },
}
SCSS
$custom: #9849d5;
$custom-light: #bb81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9849d5",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 213
  },
  "hsl": {
    "h": 273.857,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57065,
    "c": 0.20867,
    "h": 306.9
  },
  "luminance": 0.16245
}

Semantic roles & 50–950 ramp

primary
#9849D5
secondary
#B9DAA0
accent
#E64289
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #9849D5

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

Preview Lab → · Contrast checker → · Palette generator →

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