#9830AB#9830AB

#9830AB is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.200 H 321.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9830AB
RGBrgb(152, 48, 171)
HSLhsl(291, 56%, 43%)
HSVhsv(291, 72%, 67%)
CMYKcmyk(11.1%, 71.9%, 0%, 32.9%)
CIE-LABlab(40.78, 59.21, -44.93)
CIE-LCHlch(40.78, 74.32, 322.81°)
OKLaboklab(51.54% 0.1552 -0.1257)
OKLCHoklch(51.54% 0.2 321)
XYZxyz(21.3557, 11.7307, 39.6596)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9830AB #43AB30
analogous
#5B30AB #9830AB #AB3080
triadic
#9830AB #AB9830 #30AB98
tetradic
#9830AB #AB5B30 #43AB30 #3080AB
square
#9830AB #AB5B30 #43AB30 #3080AB
split-complementary
#9830AB #80AB30 #30AB5B
monochromatic
#43154B #6E237B #9830AB #B94CCD #CB7BDA

Accessibility & contrast

On white

6.28
#9830AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9830AB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9830AB#FFFFFF#000000##FFFFFF
##9830AB1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9830ab;
/* rgb */ color: rgb(152, 48, 171);
/* oklch */ color: oklch(51.5% 0.200 321.0);
Tailwind
colors: {
  custom: {
    50: '#ba72c5',
    500: '#9830ab',
    950: '#000000',
  },
}
SCSS
$custom: #9830ab;
$custom-light: #ba72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9830ab",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 290.732,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51545,
    "c": 0.19974,
    "h": 321
  },
  "luminance": 0.1173
}

Semantic roles & 50–950 ramp

primary
#9830AB
secondary
#80C374
accent
#DF4860
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9830AB

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

Preview Lab → · Contrast checker → · Palette generator →

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