#9941DC#9941DC

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

Color values

HEX#9941DC
RGBrgb(153, 65, 220)
HSLhsl(274, 69%, 56%)
HSVhsv(274, 70%, 86%)
CMYKcmyk(30.5%, 70.5%, 0%, 13.7%)
CIE-LABlab(46.61, 62.61, -64.06)
CIE-LCHlch(46.61, 89.58, 314.34°)
OKLaboklab(56.75% 0.134 -0.1819)
OKLCHoklch(56.75% 0.226 306.4)
XYZxyz(27.9426, 15.7205, 69.2586)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9941DC #84DC41
analogous
#4B41DC #9941DC #DC41D1
triadic
#9941DC #DC9941 #41DC99
tetradic
#9941DC #DC4B41 #84DC41 #41D1DC
square
#9941DC #DC4B41 #84DC41 #41D1DC
split-complementary
#9941DC #D1DC41 #41DC4B
monochromatic
#591989 #7A23BD #9941DC #B575E6 #D0A8EF

Accessibility & contrast

On white

5.07
#9941DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9941DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9941DC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9941DC#FFFFFF#000000##FFFFFF
##9941DC1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#8D658A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9941dc;
/* rgb */ color: rgb(153, 65, 220);
/* oklch */ color: oklch(56.8% 0.226 306.4);
Tailwind
colors: {
  custom: {
    50: '#bc7de8',
    500: '#9941dc',
    950: '#000000',
  },
}
SCSS
$custom: #9941dc;
$custom-light: #bc7de8;
$custom-dark: #000000;
JSON
{
  "hex": "#9941dc",
  "rgb": {
    "r": 153,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 274.065,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56751,
    "c": 0.22592,
    "h": 306.4
  },
  "luminance": 0.1572
}

Semantic roles & 50–950 ramp

primary
#9941DC
secondary
#B8DD9C
accent
#EC3C88
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9941DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9941DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva