#9830A9#9830A9

#9830A9 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.198 H 321.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9830A9
RGBrgb(152, 48, 169)
HSLhsl(292, 56%, 43%)
HSVhsv(292, 72%, 66%)
CMYKcmyk(10.1%, 71.6%, 0%, 33.7%)
CIE-LABlab(40.66, 58.83, -43.93)
CIE-LCHlch(40.66, 73.43, 323.25°)
OKLaboklab(51.42% 0.1553 -0.1228)
OKLCHoklch(51.42% 0.198 321.7)
XYZxyz(21.1665, 11.6550, 38.6632)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9830A9 #41A930
analogous
#5B30A9 #9830A9 #A9307E
triadic
#9830A9 #A99830 #30A998
tetradic
#9830A9 #A95B30 #41A930 #307EA9
square
#9830A9 #A95B30 #41A930 #307EA9
split-complementary
#9830A9 #7EA930 #30A95B
monochromatic
#42154A #6D2279 #9830A9 #BA4ACC #CC7AD9

Accessibility & contrast

On white

6.30
#9830A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9830A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9830A9
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9830A9#FFFFFF#000000##FFFFFF
##9830A91.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#3F64A6
Tritanopia (blue-blind)
#9A4669
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9830a9;
/* rgb */ color: rgb(152, 48, 169);
/* oklch */ color: oklch(51.4% 0.198 321.7);
Tailwind
colors: {
  custom: {
    50: '#ba72c3',
    500: '#9830a9',
    950: '#000000',
  },
}
SCSS
$custom: #9830a9;
$custom-light: #ba72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9830a9",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 169
  },
  "hsl": {
    "h": 291.57,
    "s": 55.76,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51418,
    "c": 0.198,
    "h": 321.7
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#9830A9
secondary
#7EC273
accent
#DF495E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9830A9

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

Preview Lab → · Contrast checker → · Palette generator →

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