#9830AD#9830AD

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

Color values

HEX#9830AD
RGBrgb(152, 48, 173)
HSLhsl(290, 57%, 43%)
HSVhsv(290, 72%, 68%)
CMYKcmyk(12.1%, 72.3%, 0%, 32.2%)
CIE-LABlab(40.91, 59.58, -45.92)
CIE-LCHlch(40.91, 75.22, 322.38°)
OKLaboklab(51.67% 0.1551 -0.1286)
OKLCHoklch(51.67% 0.201 320.3)
XYZxyz(21.5478, 11.8075, 40.6711)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9830AD #45AD30
analogous
#5930AD #9830AD #AD3083
triadic
#9830AD #AD9830 #30AD98
tetradic
#9830AD #AD5930 #45AD30 #3083AD
square
#9830AD #AD5930 #45AD30 #3083AD
split-complementary
#9830AD #83AD30 #30AD59
monochromatic
#44154D #6E237D #9830AD #B84DCE #CB7DDB

Accessibility & contrast

On white

6.25
#9830AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9830AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9830AD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9830AD#FFFFFF#000000##FFFFFF
##9830AD1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#3C64AA
Tritanopia (blue-blind)
#99486C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9830ad;
/* rgb */ color: rgb(152, 48, 173);
/* oklch */ color: oklch(51.7% 0.201 320.3);
Tailwind
colors: {
  custom: {
    50: '#ba72c6',
    500: '#9830ad',
    950: '#000000',
  },
}
SCSS
$custom: #9830ad;
$custom-light: #ba72c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9830ad",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 173
  },
  "hsl": {
    "h": 289.92,
    "s": 56.561,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51673,
    "c": 0.20147,
    "h": 320.3
  },
  "luminance": 0.11806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9830AD

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

Preview Lab → · Contrast checker → · Palette generator →

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