#9844D7#9844D7

#9844D7 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.6% C 0.217 H 306.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9844D7
RGBrgb(152, 68, 215)
HSLhsl(274, 65%, 55%)
HSVhsv(274, 68%, 84%)
CMYKcmyk(29.3%, 68.4%, 0%, 15.7%)
CIE-LABlab(46.60, 59.98, -61.22)
CIE-LCHlch(46.60, 85.71, 314.42°)
OKLaboklab(56.61% 0.1303 -0.1736)
OKLCHoklch(56.61% 0.217 306.9)
XYZxyz(27.2791, 15.7163, 65.8733)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9844D7 #83D744
analogous
#4E44D7 #9844D7 #D744CC
triadic
#9844D7 #D79844 #44D798
tetradic
#9844D7 #D74E44 #83D744 #44CCD7
square
#9844D7 #D74E44 #83D744 #44CCD7
split-complementary
#9844D7 #CCD744 #44D74E
monochromatic
#581C84 #7927B7 #9844D7 #B476E2 #D0A9ED

Accessibility & contrast

On white

5.07
#9844D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9844D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9844D7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9844D7#FFFFFF#000000##FFFFFF
##9844D71.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#1A6FD4
Tritanopia (blue-blind)
#8D6588
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9844d7;
/* rgb */ color: rgb(152, 68, 215);
/* oklch */ color: oklch(56.6% 0.217 306.9);
Tailwind
colors: {
  custom: {
    50: '#bb7ee4',
    500: '#9844d7',
    950: '#000000',
  },
}
SCSS
$custom: #9844d7;
$custom-light: #bb7ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#9844d7",
  "rgb": {
    "r": 152,
    "g": 68,
    "b": 215
  },
  "hsl": {
    "h": 274.286,
    "s": 64.758,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5661,
    "c": 0.21707,
    "h": 306.9
  },
  "luminance": 0.15716
}

Semantic roles & 50–950 ramp

primary
#9844D7
secondary
#B7DA9D
accent
#E84088
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9844D7

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

Preview Lab → · Contrast checker → · Palette generator →

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