#9844C7#9844C7

#9844C7 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.5% C 0.201 H 311.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9844C7
RGBrgb(152, 68, 199)
HSLhsl(278, 54%, 52%)
HSVhsv(278, 66%, 78%)
CMYKcmyk(23.6%, 65.8%, 0%, 22%)
CIE-LABlab(45.54, 56.46, -53.72)
CIE-LCHlch(45.54, 77.93, 316.42°)
OKLaboklab(55.52% 0.1318 -0.1516)
OKLCHoklch(55.52% 0.201 311)
XYZxyz(25.3229, 14.9338, 55.5703)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9844C7 #73C744
analogous
#5644C7 #9844C7 #C744B5
triadic
#9844C7 #C79844 #44C798
tetradic
#9844C7 #C75644 #73C744 #44B5C7
square
#9844C7 #C75644 #73C744 #44B5C7
split-complementary
#9844C7 #B5C744 #44C756
monochromatic
#53216F #772F9E #9844C7 #B273D5 #CCA2E3

Accessibility & contrast

On white

5.27
#9844C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9844C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9844C7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9844C7#FFFFFF#000000##FFFFFF
##9844C71.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#346DC4
Tritanopia (blue-blind)
#925F80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9844c7;
/* rgb */ color: rgb(152, 68, 199);
/* oklch */ color: oklch(55.5% 0.201 311.0);
Tailwind
colors: {
  custom: {
    50: '#ba7ed9',
    500: '#9844c7',
    950: '#000000',
  },
}
SCSS
$custom: #9844c7;
$custom-light: #ba7ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#9844c7",
  "rgb": {
    "r": 152,
    "g": 68,
    "b": 199
  },
  "hsl": {
    "h": 278.473,
    "s": 53.909,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55517,
    "c": 0.20089,
    "h": 311
  },
  "luminance": 0.14933
}

Semantic roles & 50–950 ramp

primary
#9844C7
secondary
#ABD097
accent
#DD4B7F
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #9844C7

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

Preview Lab → · Contrast checker → · Palette generator →

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