#9844CD#9844CD

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

Color values

HEX#9844CD
RGBrgb(152, 68, 205)
HSLhsl(277, 58%, 54%)
HSVhsv(277, 67%, 80%)
CMYKcmyk(25.9%, 66.8%, 0%, 19.6%)
CIE-LABlab(45.93, 57.77, -56.56)
CIE-LCHlch(45.93, 80.85, 315.61°)
OKLaboklab(55.92% 0.1314 -0.1599)
OKLCHoklch(55.92% 0.207 309.4)
XYZxyz(26.0333, 15.2179, 59.3117)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9844CD #79CD44
analogous
#5344CD #9844CD #CD44BE
triadic
#9844CD #CD9844 #44CD98
tetradic
#9844CD #CD5344 #79CD44 #44BECD
square
#9844CD #CD5344 #79CD44 #44BECD
split-complementary
#9844CD #BECD44 #44CD53
monochromatic
#552077 #782DA7 #9844CD #B374DA #CDA5E7

Accessibility & contrast

On white

5.19
#9844CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9844CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9844CD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9844CD#FFFFFF#000000##FFFFFF
##9844CD1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#2D6ECA
Tritanopia (blue-blind)
#906183
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9844cd;
/* rgb */ color: rgb(152, 68, 205);
/* oklch */ color: oklch(55.9% 0.207 309.4);
Tailwind
colors: {
  custom: {
    50: '#ba7edd',
    500: '#9844cd',
    950: '#000000',
  },
}
SCSS
$custom: #9844cd;
$custom-light: #ba7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#9844cd",
  "rgb": {
    "r": 152,
    "g": 68,
    "b": 205
  },
  "hsl": {
    "h": 276.788,
    "s": 57.806,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55919,
    "c": 0.20695,
    "h": 309.4
  },
  "luminance": 0.15217
}

Semantic roles & 50–950 ramp

primary
#9844CD
secondary
#B0D499
accent
#E14782
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9844CD

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

Preview Lab → · Contrast checker → · Palette generator →

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