#9844E1#9844E1

#9844E1 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.3% C 0.227 H 304.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9844E1
RGBrgb(152, 68, 225)
HSLhsl(272, 72%, 57%)
HSVhsv(272, 70%, 88%)
CMYKcmyk(32.4%, 69.8%, 0%, 11.8%)
CIE-LABlab(47.30, 62.24, -65.79)
CIE-LCHlch(47.30, 90.57, 313.41°)
OKLaboklab(57.33% 0.1289 -0.187)
OKLCHoklch(57.33% 0.227 304.6)
XYZxyz(28.6036, 16.2460, 72.8485)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9844E1 #8DE144
analogous
#4A44E1 #9844E1 #E144DB
triadic
#9844E1 #E19844 #44E198
tetradic
#9844E1 #E14A44 #8DE144 #44DBE1
square
#9844E1 #E14A44 #8DE144 #44DBE1
split-complementary
#9844E1 #DBE144 #44E14A
monochromatic
#5A1893 #7A20C8 #9844E1 #B579E9 #D2ADF2

Accessibility & contrast

On white

4.94
#9844E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9844E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9844E1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9844E1#FFFFFF#000000##FFFFFF
##9844E11.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#8A698E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9844e1;
/* rgb */ color: rgb(152, 68, 225);
/* oklch */ color: oklch(57.3% 0.227 304.6);
Tailwind
colors: {
  custom: {
    50: '#bc7eeb',
    500: '#9844e1',
    950: '#000000',
  },
}
SCSS
$custom: #9844e1;
$custom-light: #bc7eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#9844e1",
  "rgb": {
    "r": 152,
    "g": 68,
    "b": 225
  },
  "hsl": {
    "h": 272.102,
    "s": 72.35,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57326,
    "c": 0.22719,
    "h": 304.6
  },
  "luminance": 0.16246
}

Semantic roles & 50–950 ramp

primary
#9844E1
secondary
#BEE0A1
accent
#EF398E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9844E1

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

Preview Lab → · Contrast checker → · Palette generator →

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