#9844D8#9844D8

#9844D8 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.7% C 0.218 H 306.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9844D8
RGBrgb(152, 68, 216)
HSLhsl(274, 65%, 56%)
HSVhsv(274, 69%, 85%)
CMYKcmyk(29.6%, 68.5%, 0%, 15.3%)
CIE-LABlab(46.67, 60.21, -61.68)
CIE-LCHlch(46.67, 86.20, 314.31°)
OKLaboklab(56.68% 0.1302 -0.175)
OKLCHoklch(56.68% 0.218 306.6)
XYZxyz(27.4080, 15.7678, 66.5520)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9844D8 #84D844
analogous
#4E44D8 #9844D8 #D844CE
triadic
#9844D8 #D89844 #44D898
tetradic
#9844D8 #D84E44 #84D844 #44CED8
square
#9844D8 #D84E44 #84D844 #44CED8
split-complementary
#9844D8 #CED844 #44D84E
monochromatic
#581C86 #7926B8 #9844D8 #B477E3 #D0A9ED

Accessibility & contrast

On white

5.06
#9844D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9844D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9844D8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9844D8#FFFFFF#000000##FFFFFF
##9844D81.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#176FD5
Tritanopia (blue-blind)
#8D6589
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9844d8;
/* rgb */ color: rgb(152, 68, 216);
/* oklch */ color: oklch(56.7% 0.218 306.6);
Tailwind
colors: {
  custom: {
    50: '#bb7ee5',
    500: '#9844d8',
    950: '#000000',
  },
}
SCSS
$custom: #9844d8;
$custom-light: #bb7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#9844d8",
  "rgb": {
    "r": 152,
    "g": 68,
    "b": 216
  },
  "hsl": {
    "h": 274.054,
    "s": 65.487,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56681,
    "c": 0.21809,
    "h": 306.6
  },
  "luminance": 0.15768
}

Semantic roles & 50–950 ramp

primary
#9844D8
secondary
#B8DB9D
accent
#E83F88
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9844D8

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

Preview Lab → · Contrast checker → · Palette generator →

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