#9844D2#9844D2

#9844D2 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.212 H 308.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9844D2
RGBrgb(152, 68, 210)
HSLhsl(275, 61%, 55%)
HSVhsv(275, 68%, 82%)
CMYKcmyk(27.6%, 67.6%, 0%, 17.6%)
CIE-LABlab(46.26, 58.87, -58.90)
CIE-LCHlch(46.26, 83.28, 314.98°)
OKLaboklab(56.26% 0.1309 -0.1668)
OKLCHoklch(56.26% 0.212 308.1)
XYZxyz(26.6465, 15.4632, 62.5412)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9844D2 #7ED244
analogous
#5144D2 #9844D2 #D244C5
triadic
#9844D2 #D29844 #44D298
tetradic
#9844D2 #D25144 #7ED244 #44C5D2
square
#9844D2 #D25144 #7ED244 #44C5D2
split-complementary
#9844D2 #C5D244 #44D251
monochromatic
#571E7D #792AAF #9844D2 #B375DE #CEA7EA

Accessibility & contrast

On white

5.13
#9844D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9844D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9844D2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9844D2#FFFFFF#000000##FFFFFF
##9844D21.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#256ECF
Tritanopia (blue-blind)
#8F6386
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9844d2;
/* rgb */ color: rgb(152, 68, 210);
/* oklch */ color: oklch(56.3% 0.212 308.1);
Tailwind
colors: {
  custom: {
    50: '#bb7ee1',
    500: '#9844d2',
    950: '#000000',
  },
}
SCSS
$custom: #9844d2;
$custom-light: #bb7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#9844d2",
  "rgb": {
    "r": 152,
    "g": 68,
    "b": 210
  },
  "hsl": {
    "h": 275.493,
    "s": 61.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56261,
    "c": 0.21202,
    "h": 308.1
  },
  "luminance": 0.15463
}

Semantic roles & 50–950 ramp

primary
#9844D2
secondary
#B3D79B
accent
#E44385
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9844D2

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

Preview Lab → · Contrast checker → · Palette generator →

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