#9841CE#9841CE

#9841CE is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.6% C 0.212 H 309.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9841CE
RGBrgb(152, 65, 206)
HSLhsl(277, 59%, 53%)
HSVhsv(277, 68%, 81%)
CMYKcmyk(26.2%, 68.4%, 0%, 19.2%)
CIE-LABlab(45.51, 59.33, -57.81)
CIE-LCHlch(45.51, 82.84, 315.75°)
OKLaboklab(55.64% 0.1345 -0.1636)
OKLCHoklch(55.64% 0.212 309.4)
XYZxyz(25.9776, 14.9127, 59.8905)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9841CE #77CE41
analogous
#5141CE #9841CE #CE41BE
triadic
#9841CE #CE9841 #41CE98
tetradic
#9841CE #CE5141 #77CE41 #41BECE
square
#9841CE #CE5141 #77CE41 #41BECE
split-complementary
#9841CE #BECE41 #41CE51
monochromatic
#551E76 #772BA7 #9841CE #B272DB #CDA2E7

Accessibility & contrast

On white

5.27
#9841CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9841CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9841CE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9841CE#FFFFFF#000000##FFFFFF
##9841CE1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#276DCB
Tritanopia (blue-blind)
#905F83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9841ce;
/* rgb */ color: rgb(152, 65, 206);
/* oklch */ color: oklch(55.6% 0.212 309.4);
Tailwind
colors: {
  custom: {
    50: '#bb7cde',
    500: '#9841ce',
    950: '#000000',
  },
}
SCSS
$custom: #9841ce;
$custom-light: #bb7cde;
$custom-dark: #000000;
JSON
{
  "hex": "#9841ce",
  "rgb": {
    "r": 152,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 277.021,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55642,
    "c": 0.21176,
    "h": 309.4
  },
  "luminance": 0.14912
}

Semantic roles & 50–950 ramp

primary
#9841CE
secondary
#AED497
accent
#E24682
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9841CE

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

Preview Lab → · Contrast checker → · Palette generator →

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