#9930A2#9930A2

#9930A2 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.192 H 324.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9930A2
RGBrgb(153, 48, 162)
HSLhsl(295, 54%, 41%)
HSVhsv(295, 70%, 64%)
CMYKcmyk(5.6%, 70.4%, 0%, 36.5%)
CIE-LABlab(40.40, 57.78, -40.15)
CIE-LCHlch(40.40, 70.36, 325.20°)
OKLaboklab(51.13% 0.1567 -0.1117)
OKLCHoklch(51.13% 0.192 324.5)
XYZxyz(20.7149, 11.4961, 35.3033)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9930A2 #39A230
analogous
#6030A2 #9930A2 #A23072
triadic
#9930A2 #A29930 #30A299
tetradic
#9930A2 #A26030 #39A230 #3072A2
square
#9930A2 #A26030 #39A230 #3072A2
split-complementary
#9930A2 #72A230 #30A260
monochromatic
#401444 #6C2273 #9930A2 #BE47C8 #CF76D6

Accessibility & contrast

On white

6.37
#9930A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9930A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9930A2
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9930A2#FFFFFF#000000##FFFFFF
##9930A21.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1157A5
Deuteranopia (green-blind)
#45649F
Tritanopia (blue-blind)
#9C4366
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9930a2;
/* rgb */ color: rgb(153, 48, 162);
/* oklch */ color: oklch(51.1% 0.192 324.5);
Tailwind
colors: {
  custom: {
    50: '#ba72be',
    500: '#9930a2',
    950: '#000000',
  },
}
SCSS
$custom: #9930a2;
$custom-light: #ba72be;
$custom-dark: #000000;
JSON
{
  "hex": "#9930a2",
  "rgb": {
    "r": 153,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 295.263,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5113,
    "c": 0.19248,
    "h": 324.5
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#9930A2
secondary
#76BE6F
accent
#DE4A56
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9930A2

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

Preview Lab → · Contrast checker → · Palette generator →

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