#9934A2#9934A2

#9934A2 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.188 H 324.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9934A2
RGBrgb(153, 52, 162)
HSLhsl(295, 51%, 42%)
HSVhsv(295, 68%, 64%)
CMYKcmyk(5.6%, 67.9%, 0%, 36.5%)
CIE-LABlab(40.96, 56.22, -39.27)
CIE-LCHlch(40.96, 68.57, 325.06°)
OKLaboklab(51.53% 0.1524 -0.1092)
OKLCHoklch(51.53% 0.188 324.4)
XYZxyz(20.8859, 11.8382, 35.3603)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9934A2 #3DA234
analogous
#6234A2 #9934A2 #A23474
triadic
#9934A2 #A29934 #34A299
tetradic
#9934A2 #A26234 #3DA234 #3474A2
square
#9934A2 #A26234 #3DA234 #3474A2
split-complementary
#9934A2 #74A234 #34A262
monochromatic
#411645 #6D2574 #9934A2 #BC4DC6 #CE7CD5

Accessibility & contrast

On white

6.24
#9934A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9934A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9934A2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9934A2#FFFFFF#000000##FFFFFF
##9934A21.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A59A5
Deuteranopia (green-blind)
#48659F
Tritanopia (blue-blind)
#9C4567
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9934a2;
/* rgb */ color: rgb(153, 52, 162);
/* oklch */ color: oklch(51.5% 0.188 324.4);
Tailwind
colors: {
  custom: {
    50: '#ba74be',
    500: '#9934a2',
    950: '#000000',
  },
}
SCSS
$custom: #9934a2;
$custom-light: #ba74be;
$custom-dark: #000000;
JSON
{
  "hex": "#9934a2",
  "rgb": {
    "r": 153,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 295.091,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51528,
    "c": 0.1875,
    "h": 324.4
  },
  "luminance": 0.11837
}

Semantic roles & 50–950 ramp

primary
#9934A2
secondary
#7ABE74
accent
#DB4D59
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9934A2

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

Preview Lab → · Contrast checker → · Palette generator →

#9934A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva