#9841DD#9841DD

#9841DD is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.7% C 0.227 H 305.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9841DD
RGBrgb(152, 65, 221)
HSLhsl(273, 70%, 56%)
HSVhsv(273, 71%, 87%)
CMYKcmyk(31.2%, 70.6%, 0%, 13.3%)
CIE-LABlab(46.55, 62.65, -64.73)
CIE-LCHlch(46.55, 90.08, 314.06°)
OKLaboklab(56.7% 0.1325 -0.1839)
OKLCHoklch(56.7% 0.227 305.8)
XYZxyz(27.8875, 15.6767, 69.9493)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9841DD #86DD41
analogous
#4A41DD #9841DD #DD41D4
triadic
#9841DD #DD9841 #41DD98
tetradic
#9841DD #DD4A41 #86DD41 #41D4DD
square
#9841DD #DD4A41 #86DD41 #41D4DD
split-complementary
#9841DD #D4DD41 #41DD4A
monochromatic
#58198B #7922BF #9841DD #B475E6 #D0A9F0

Accessibility & contrast

On white

5.08
#9841DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9841DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9841DD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9841DD#FFFFFF#000000##FFFFFF
##9841DD1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#8C658B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9841dd;
/* rgb */ color: rgb(152, 65, 221);
/* oklch */ color: oklch(56.7% 0.227 305.8);
Tailwind
colors: {
  custom: {
    50: '#bc7de8',
    500: '#9841dd',
    950: '#000000',
  },
}
SCSS
$custom: #9841dd;
$custom-light: #bc7de8;
$custom-dark: #000000;
JSON
{
  "hex": "#9841dd",
  "rgb": {
    "r": 152,
    "g": 65,
    "b": 221
  },
  "hsl": {
    "h": 273.462,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56704,
    "c": 0.22667,
    "h": 305.8
  },
  "luminance": 0.15676
}

Semantic roles & 50–950 ramp

primary
#9841DD
secondary
#B9DD9D
accent
#EC3B8A
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9841DD

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

Preview Lab → · Contrast checker → · Palette generator →

#9841DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva