#9841DE#9841DE

#9841DE is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.8% C 0.228 H 305.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9841DE
RGBrgb(152, 65, 222)
HSLhsl(273, 70%, 56%)
HSVhsv(273, 71%, 87%)
CMYKcmyk(31.5%, 70.7%, 0%, 12.9%)
CIE-LABlab(46.62, 62.87, -65.19)
CIE-LCHlch(46.62, 90.56, 313.96°)
OKLaboklab(56.78% 0.1324 -0.1852)
OKLCHoklch(56.78% 0.228 305.5)
XYZxyz(28.0211, 15.7301, 70.6531)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9841DE #87DE41
analogous
#4A41DE #9841DE #DE41D6
triadic
#9841DE #DE9841 #41DE98
tetradic
#9841DE #DE4A41 #87DE41 #41D6DE
square
#9841DE #DE4A41 #87DE41 #41D6DE
split-complementary
#9841DE #D6DE41 #41DE4A
monochromatic
#59188C #7A21C0 #9841DE #B475E7 #D1A9F0

Accessibility & contrast

On white

5.07
#9841DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9841DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9841DE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9841DE#FFFFFF#000000##FFFFFF
##9841DE1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#8B668B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9841de;
/* rgb */ color: rgb(152, 65, 222);
/* oklch */ color: oklch(56.8% 0.228 305.5);
Tailwind
colors: {
  custom: {
    50: '#bc7de9',
    500: '#9841de',
    950: '#000000',
  },
}
SCSS
$custom: #9841de;
$custom-light: #bc7de9;
$custom-dark: #000000;
JSON
{
  "hex": "#9841de",
  "rgb": {
    "r": 152,
    "g": 65,
    "b": 222
  },
  "hsl": {
    "h": 273.248,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56777,
    "c": 0.22767,
    "h": 305.5
  },
  "luminance": 0.1573
}

Semantic roles & 50–950 ramp

primary
#9841DE
secondary
#BADE9D
accent
#ED3B8A
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9841DE

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

Preview Lab → · Contrast checker → · Palette generator →

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