#9849CC#9849CC

#9849CC is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.5% C 0.199 H 309.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9849CC
RGBrgb(152, 73, 204)
HSLhsl(276, 56%, 54%)
HSVhsv(276, 64%, 80%)
CMYKcmyk(25.5%, 64.2%, 0%, 20%)
CIE-LABlab(46.71, 55.21, -54.73)
CIE-LCHlch(46.71, 77.74, 315.25°)
OKLaboklab(56.46% 0.1258 -0.1546)
OKLCHoklch(56.46% 0.199 309.1)
XYZxyz(26.2284, 15.8006, 58.7832)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849CC #7DCC49
analogous
#5749CC #9849CC #CC49BF
triadic
#9849CC #CC9849 #49CC98
tetradic
#9849CC #CC5749 #7DCC49 #49BFCC
square
#9849CC #CC5749 #7DCC49 #49BFCC
split-complementary
#9849CC #BFCC49 #49CC57
monochromatic
#562279 #782FA9 #9849CC #B379D9 #CEA9E7

Accessibility & contrast

On white

5.05
#9849CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9849CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849CC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849CC#FFFFFF#000000##FFFFFF
##9849CC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#3570C9
Tritanopia (blue-blind)
#916484
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9849cc;
/* rgb */ color: rgb(152, 73, 204);
/* oklch */ color: oklch(56.5% 0.199 309.1);
Tailwind
colors: {
  custom: {
    50: '#ba81dc',
    500: '#9849cc',
    950: '#000000',
  },
}
SCSS
$custom: #9849cc;
$custom-light: #ba81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9849cc",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 276.183,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5646,
    "c": 0.1993,
    "h": 309.1
  },
  "luminance": 0.158
}

Semantic roles & 50–950 ramp

primary
#9849CC
secondary
#B3D49D
accent
#E04884
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9849CC

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

Preview Lab → · Contrast checker → · Palette generator →

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