#9830AF#9830AF

#9830AF is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.203 H 319.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9830AF
RGBrgb(152, 48, 175)
HSLhsl(289, 57%, 44%)
HSVhsv(289, 73%, 69%)
CMYKcmyk(13.1%, 72.6%, 0%, 31.4%)
CIE-LABlab(41.03, 59.96, -46.90)
CIE-LCHlch(41.03, 76.13, 321.96°)
OKLaboklab(51.8% 0.155 -0.1315)
OKLCHoklch(51.8% 0.203 319.7)
XYZxyz(21.7427, 11.8855, 41.6980)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9830AF #47AF30
analogous
#5830AF #9830AF #AF3086
triadic
#9830AF #AF9830 #30AF98
tetradic
#9830AF #AF5830 #47AF30 #3086AF
square
#9830AF #AF5830 #47AF30 #3086AF
split-complementary
#9830AF #86AF30 #30AF58
monochromatic
#45164F #6E237F #9830AF #B74ECE #CB7EDC

Accessibility & contrast

On white

6.22
#9830AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9830AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9830AF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9830AF#FFFFFF#000000##FFFFFF
##9830AF1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#3B64AC
Tritanopia (blue-blind)
#98496D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9830af;
/* rgb */ color: rgb(152, 48, 175);
/* oklch */ color: oklch(51.8% 0.203 319.7);
Tailwind
colors: {
  custom: {
    50: '#ba72c7',
    500: '#9830af',
    950: '#000000',
  },
}
SCSS
$custom: #9830af;
$custom-light: #ba72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9830af",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 289.134,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51802,
    "c": 0.20322,
    "h": 319.7
  },
  "luminance": 0.11884
}

Semantic roles & 50–950 ramp

primary
#9830AF
secondary
#85C476
accent
#E04863
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9830AF

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

Preview Lab → · Contrast checker → · Palette generator →

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