#9942C8#9942C8

#9942C8 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.5% C 0.205 H 311.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9942C8
RGBrgb(153, 66, 200)
HSLhsl(279, 55%, 52%)
HSVhsv(279, 67%, 78%)
CMYKcmyk(23.5%, 67%, 0%, 21.6%)
CIE-LABlab(45.41, 57.80, -54.50)
CIE-LCHlch(45.41, 79.45, 316.68°)
OKLaboklab(55.47% 0.1353 -0.1538)
OKLCHoklch(55.47% 0.205 311.3)
XYZxyz(25.5085, 14.8395, 56.1529)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9942C8 #71C842
analogous
#5642C8 #9942C8 #C842B4
triadic
#9942C8 #C89942 #42C899
tetradic
#9942C8 #C85642 #71C842 #42B4C8
square
#9942C8 #C85642 #71C842 #42B4C8
split-complementary
#9942C8 #B4C842 #42C856
monochromatic
#54206F #772E9F #9942C8 #B371D6 #CCA1E4

Accessibility & contrast

On white

5.29
#9942C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9942C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9942C8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9942C8#FFFFFF#000000##FFFFFF
##9942C81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#326DC5
Tritanopia (blue-blind)
#935E80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9942c8;
/* rgb */ color: rgb(153, 66, 200);
/* oklch */ color: oklch(55.5% 0.205 311.3);
Tailwind
colors: {
  custom: {
    50: '#bb7dd9',
    500: '#9942c8',
    950: '#000000',
  },
}
SCSS
$custom: #9942c8;
$custom-light: #bb7dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9942c8",
  "rgb": {
    "r": 153,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 278.955,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55472,
    "c": 0.20485,
    "h": 311.3
  },
  "luminance": 0.14839
}

Semantic roles & 50–950 ramp

primary
#9942C8
secondary
#AAD096
accent
#DE4A7E
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9942C8

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

Preview Lab → · Contrast checker → · Palette generator →

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