#9841D0#9841D0

#9841D0 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.8% C 0.214 H 308.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9841D0
RGBrgb(152, 65, 208)
HSLhsl(277, 60%, 54%)
HSVhsv(277, 69%, 82%)
CMYKcmyk(26.9%, 68.8%, 0%, 18.4%)
CIE-LABlab(45.65, 59.77, -58.74)
CIE-LCHlch(45.65, 83.81, 315.50°)
OKLaboklab(55.78% 0.1343 -0.1663)
OKLCHoklch(55.78% 0.214 308.9)
XYZxyz(26.2221, 15.0105, 61.1782)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9841D0 #79D041
analogous
#5041D0 #9841D0 #D041C1
triadic
#9841D0 #D09841 #41D098
tetradic
#9841D0 #D05041 #79D041 #41C1D0
square
#9841D0 #D05041 #79D041 #41C1D0
split-complementary
#9841D0 #C1D041 #41D050
monochromatic
#551E79 #782AAA #9841D0 #B372DC #CDA3E8

Accessibility & contrast

On white

5.25
#9841D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9841D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9841D0
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9841D0#FFFFFF#000000##FFFFFF
##9841D01.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D4
Deuteranopia (green-blind)
#236DCD
Tritanopia (blue-blind)
#906084
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9841d0;
/* rgb */ color: rgb(152, 65, 208);
/* oklch */ color: oklch(55.8% 0.214 308.9);
Tailwind
colors: {
  custom: {
    50: '#bb7cdf',
    500: '#9841d0',
    950: '#000000',
  },
}
SCSS
$custom: #9841d0;
$custom-light: #bb7cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#9841d0",
  "rgb": {
    "r": 152,
    "g": 65,
    "b": 208
  },
  "hsl": {
    "h": 276.503,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5578,
    "c": 0.21375,
    "h": 308.9
  },
  "luminance": 0.1501
}

Semantic roles & 50–950 ramp

primary
#9841D0
secondary
#B0D598
accent
#E34483
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9841D0

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

Preview Lab → · Contrast checker → · Palette generator →

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