#9942D0#9942D0

#9942D0 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.0% C 0.213 H 309.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9942D0
RGBrgb(153, 66, 208)
HSLhsl(277, 60%, 54%)
HSVhsv(277, 68%, 82%)
CMYKcmyk(26.4%, 68.3%, 0%, 18.4%)
CIE-LABlab(45.94, 59.53, -58.27)
CIE-LCHlch(45.94, 83.30, 315.62°)
OKLaboklab(56.02% 0.1345 -0.1649)
OKLCHoklch(56.02% 0.213 309.2)
XYZxyz(26.4680, 15.2233, 61.2063)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9942D0 #79D042
analogous
#5242D0 #9942D0 #D042C0
triadic
#9942D0 #D09942 #42D099
tetradic
#9942D0 #D05242 #79D042 #42C0D0
square
#9942D0 #D05242 #79D042 #42C0D0
split-complementary
#9942D0 #C0D042 #42D052
monochromatic
#561E79 #792AAA #9942D0 #B373DC #CEA4E8

Accessibility & contrast

On white

5.19
#9942D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9942D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9942D0
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9942D0#FFFFFF#000000##FFFFFF
##9942D01.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D4
Deuteranopia (green-blind)
#276ECD
Tritanopia (blue-blind)
#916184
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9942d0;
/* rgb */ color: rgb(153, 66, 208);
/* oklch */ color: oklch(56.0% 0.213 309.2);
Tailwind
colors: {
  custom: {
    50: '#bb7ddf',
    500: '#9942d0',
    950: '#000000',
  },
}
SCSS
$custom: #9942d0;
$custom-light: #bb7ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#9942d0",
  "rgb": {
    "r": 153,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 276.761,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56015,
    "c": 0.21279,
    "h": 309.2
  },
  "luminance": 0.15223
}

Semantic roles & 50–950 ramp

primary
#9942D0
secondary
#B0D599
accent
#E34482
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9942D0

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

Preview Lab → · Contrast checker → · Palette generator →

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