#9844CB#9844CB

#9844CB is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.8% C 0.205 H 309.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9844CB
RGBrgb(152, 68, 203)
HSLhsl(277, 56%, 53%)
HSVhsv(277, 67%, 80%)
CMYKcmyk(25.1%, 66.5%, 0%, 20.4%)
CIE-LABlab(45.80, 57.33, -55.62)
CIE-LCHlch(45.80, 79.88, 315.87°)
OKLaboklab(55.78% 0.1315 -0.1572)
OKLCHoklch(55.78% 0.205 309.9)
XYZxyz(25.7934, 15.1220, 58.0484)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9844CB #77CB44
analogous
#5444CB #9844CB #CB44BB
triadic
#9844CB #CB9844 #44CB98
tetradic
#9844CB #CB5444 #77CB44 #44BBCB
square
#9844CB #CB5444 #77CB44 #44BBCB
split-complementary
#9844CB #BBCB44 #44CB54
monochromatic
#552074 #772EA4 #9844CB #B274D8 #CDA4E6

Accessibility & contrast

On white

5.22
#9844CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9844CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9844CB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9844CB#FFFFFF#000000##FFFFFF
##9844CB1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#2F6EC8
Tritanopia (blue-blind)
#916082
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9844cb;
/* rgb */ color: rgb(152, 68, 203);
/* oklch */ color: oklch(55.8% 0.205 309.9);
Tailwind
colors: {
  custom: {
    50: '#ba7edc',
    500: '#9844cb',
    950: '#000000',
  },
}
SCSS
$custom: #9844cb;
$custom-light: #ba7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9844cb",
  "rgb": {
    "r": 152,
    "g": 68,
    "b": 203
  },
  "hsl": {
    "h": 277.333,
    "s": 56.485,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55784,
    "c": 0.20493,
    "h": 309.9
  },
  "luminance": 0.15121
}

Semantic roles & 50–950 ramp

primary
#9844CB
secondary
#AED398
accent
#E04881
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9844CB

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

Preview Lab → · Contrast checker → · Palette generator →

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