#9830AC#9830AC

#9830AC is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.6% C 0.201 H 320.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9830AC
RGBrgb(152, 48, 172)
HSLhsl(290, 56%, 43%)
HSVhsv(290, 72%, 67%)
CMYKcmyk(11.6%, 72.1%, 0%, 32.5%)
CIE-LABlab(40.85, 59.39, -45.42)
CIE-LCHlch(40.85, 74.77, 322.59°)
OKLaboklab(51.61% 0.1552 -0.1271)
OKLCHoklch(51.61% 0.201 320.7)
XYZxyz(21.4514, 11.7690, 40.1635)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9830AC #44AC30
analogous
#5A30AC #9830AC #AC3082
triadic
#9830AC #AC9830 #30AC98
tetradic
#9830AC #AC5A30 #44AC30 #3082AC
square
#9830AC #AC5A30 #44AC30 #3082AC
split-complementary
#9830AC #82AC30 #30AC5A
monochromatic
#43154C #6E237C #9830AC #B84CCD #CB7CDA

Accessibility & contrast

On white

6.26
#9830AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9830AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9830AC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9830AC#FFFFFF#000000##FFFFFF
##9830AC1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#3D64A9
Tritanopia (blue-blind)
#99476B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9830ac;
/* rgb */ color: rgb(152, 48, 172);
/* oklch */ color: oklch(51.6% 0.201 320.7);
Tailwind
colors: {
  custom: {
    50: '#ba72c5',
    500: '#9830ac',
    950: '#000000',
  },
}
SCSS
$custom: #9830ac;
$custom-light: #ba72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9830ac",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 290.323,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51609,
    "c": 0.2006,
    "h": 320.7
  },
  "luminance": 0.11768
}

Semantic roles & 50–950 ramp

primary
#9830AC
secondary
#81C375
accent
#E04861
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9830AC

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

Preview Lab → · Contrast checker → · Palette generator →

#9830AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva