#9844CA#9844CA

#9844CA is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.204 H 310.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9844CA
RGBrgb(152, 68, 202)
HSLhsl(278, 56%, 53%)
HSVhsv(278, 66%, 79%)
CMYKcmyk(24.8%, 66.3%, 0%, 20.8%)
CIE-LABlab(45.74, 57.11, -55.15)
CIE-LCHlch(45.74, 79.39, 316.00°)
OKLaboklab(55.72% 0.1316 -0.1558)
OKLCHoklch(55.72% 0.204 310.2)
XYZxyz(25.6746, 15.0744, 57.4228)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9844CA #76CA44
analogous
#5544CA #9844CA #CA44B9
triadic
#9844CA #CA9844 #44CA98
tetradic
#9844CA #CA5544 #76CA44 #44B9CA
square
#9844CA #CA5544 #76CA44 #44B9CA
split-complementary
#9844CA #B9CA44 #44CA55
monochromatic
#542173 #772EA3 #9844CA #B274D8 #CDA3E5

Accessibility & contrast

On white

5.23
#9844CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9844CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9844CA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9844CA#FFFFFF#000000##FFFFFF
##9844CA1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#316EC7
Tritanopia (blue-blind)
#916081
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9844ca;
/* rgb */ color: rgb(152, 68, 202);
/* oklch */ color: oklch(55.7% 0.204 310.2);
Tailwind
colors: {
  custom: {
    50: '#ba7edb',
    500: '#9844ca',
    950: '#000000',
  },
}
SCSS
$custom: #9844ca;
$custom-light: #ba7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#9844ca",
  "rgb": {
    "r": 152,
    "g": 68,
    "b": 202
  },
  "hsl": {
    "h": 277.612,
    "s": 55.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55717,
    "c": 0.20392,
    "h": 310.2
  },
  "luminance": 0.15074
}

Semantic roles & 50–950 ramp

primary
#9844CA
secondary
#AED298
accent
#DF4981
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9844CA

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

Preview Lab → · Contrast checker → · Palette generator →

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