#9942DD#9942DD

#9942DD is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.9% C 0.226 H 306.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9942DD
RGBrgb(153, 66, 221)
HSLhsl(274, 70%, 56%)
HSVhsv(274, 70%, 87%)
CMYKcmyk(30.8%, 70.1%, 0%, 13.3%)
CIE-LABlab(46.83, 62.41, -64.27)
CIE-LCHlch(46.83, 89.58, 314.16°)
OKLaboklab(56.93% 0.1328 -0.1825)
OKLCHoklch(56.93% 0.226 306)
XYZxyz(28.1334, 15.8894, 69.9775)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9942DD #86DD42
analogous
#4C42DD #9942DD #DD42D4
triadic
#9942DD #DD9942 #42DD99
tetradic
#9942DD #DD4C42 #86DD42 #42D4DD
square
#9942DD #DD4C42 #86DD42 #42D4DD
split-complementary
#9942DD #D4DD42 #42DD4C
monochromatic
#59198C #7B22BF #9942DD #B576E6 #D1AAF0

Accessibility & contrast

On white

5.03
#9942DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9942DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9942DD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9942DD#FFFFFF#000000##FFFFFF
##9942DD1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9942dd;
/* rgb */ color: rgb(153, 66, 221);
/* oklch */ color: oklch(56.9% 0.226 306.0);
Tailwind
colors: {
  custom: {
    50: '#bc7de8',
    500: '#9942dd',
    950: '#000000',
  },
}
SCSS
$custom: #9942dd;
$custom-light: #bc7de8;
$custom-dark: #000000;
JSON
{
  "hex": "#9942dd",
  "rgb": {
    "r": 153,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 273.677,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56932,
    "c": 0.22575,
    "h": 306
  },
  "luminance": 0.15889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9942DD

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

Preview Lab → · Contrast checker → · Palette generator →

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