#9844CC#9844CC

#9844CC is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.9% C 0.206 H 309.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9844CC
RGBrgb(152, 68, 204)
HSLhsl(277, 57%, 53%)
HSVhsv(277, 67%, 80%)
CMYKcmyk(25.5%, 66.7%, 0%, 20%)
CIE-LABlab(45.87, 57.55, -56.09)
CIE-LCHlch(45.87, 80.36, 315.74°)
OKLaboklab(55.85% 0.1315 -0.1585)
OKLCHoklch(55.85% 0.206 309.7)
XYZxyz(25.9130, 15.1698, 58.6780)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9844CC #78CC44
analogous
#5444CC #9844CC #CC44BC
triadic
#9844CC #CC9844 #44CC98
tetradic
#9844CC #CC5444 #78CC44 #44BCCC
square
#9844CC #CC5444 #78CC44 #44BCCC
split-complementary
#9844CC #BCCC44 #44CC54
monochromatic
#552076 #782DA6 #9844CC #B274D9 #CDA4E6

Accessibility & contrast

On white

5.21
#9844CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9844CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9844CC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9844CC#FFFFFF#000000##FFFFFF
##9844CC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#2E6EC9
Tritanopia (blue-blind)
#916182
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9844cc;
/* rgb */ color: rgb(152, 68, 204);
/* oklch */ color: oklch(55.9% 0.206 309.7);
Tailwind
colors: {
  custom: {
    50: '#ba7edc',
    500: '#9844cc',
    950: '#000000',
  },
}
SCSS
$custom: #9844cc;
$custom-light: #ba7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9844cc",
  "rgb": {
    "r": 152,
    "g": 68,
    "b": 204
  },
  "hsl": {
    "h": 277.059,
    "s": 57.143,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55851,
    "c": 0.20595,
    "h": 309.7
  },
  "luminance": 0.15169
}

Semantic roles & 50–950 ramp

primary
#9844CC
secondary
#AFD399
accent
#E04782
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9844CC

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

Preview Lab → · Contrast checker → · Palette generator →

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