#9844E7#9844E7

#9844E7 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.8% C 0.233 H 303.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9844E7
RGBrgb(152, 68, 231)
HSLhsl(271, 77%, 59%)
HSVhsv(271, 71%, 91%)
CMYKcmyk(34.2%, 70.6%, 0%, 9.4%)
CIE-LABlab(47.73, 63.61, -68.50)
CIE-LCHlch(47.73, 93.48, 312.88°)
OKLaboklab(57.77% 0.128 -0.195)
OKLCHoklch(57.77% 0.233 303.3)
XYZxyz(29.4365, 16.5792, 77.2351)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9844E7 #93E744
analogous
#4644E7 #9844E7 #E744E5
triadic
#9844E7 #E79844 #44E798
tetradic
#9844E7 #E74644 #93E744 #44E5E7
square
#9844E7 #E74644 #93E744 #44E5E7
split-complementary
#9844E7 #E5E744 #44E746
monochromatic
#5A149D #7A1BD3 #9844E7 #B67AEE #D4B0F5

Accessibility & contrast

On white

4.87
#9844E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9844E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9844E7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9844E7#FFFFFF#000000##FFFFFF
##9844E71.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#0071E4
Tritanopia (blue-blind)
#886B91
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9844e7;
/* rgb */ color: rgb(152, 68, 231);
/* oklch */ color: oklch(57.8% 0.233 303.3);
Tailwind
colors: {
  custom: {
    50: '#bc7ff0',
    500: '#9844e7',
    950: '#000000',
  },
}
SCSS
$custom: #9844e7;
$custom-light: #bc7ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#9844e7",
  "rgb": {
    "r": 152,
    "g": 68,
    "b": 231
  },
  "hsl": {
    "h": 270.92,
    "s": 77.251,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57766,
    "c": 0.23324,
    "h": 303.3
  },
  "luminance": 0.16579
}

Semantic roles & 50–950 ramp

primary
#9844E7
secondary
#C2E4A3
accent
#F43491
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A17
muted
#827C85

Preview Lab

Preview with #9844E7

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

Preview Lab → · Contrast checker → · Palette generator →

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