#9829AF#9829AF

#9829AF is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.211 H 320.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9829AF
RGBrgb(152, 41, 175)
HSLhsl(290, 62%, 42%)
HSVhsv(290, 77%, 69%)
CMYKcmyk(13.1%, 76.6%, 0%, 31.4%)
CIE-LABlab(40.18, 62.41, -48.28)
CIE-LCHlch(40.18, 78.91, 322.28°)
OKLaboklab(51.19% 0.1614 -0.1355)
OKLCHoklch(51.19% 0.211 320)
XYZxyz(21.4787, 11.3575, 41.6100)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9829AF #40AF29
analogous
#5529AF #9829AF #AF2983
triadic
#9829AF #AF9829 #29AF98
tetradic
#9829AF #AF5529 #40AF29 #2983AF
square
#9829AF #AF5529 #40AF29 #2983AF
split-complementary
#9829AF #83AF29 #29AF55
monochromatic
#42124C #6D1D7D #9829AF #BA42D3 #CC74DE

Accessibility & contrast

On white

6.42
#9829AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9829AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9829AF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9829AF#FFFFFF#000000##FFFFFF
##9829AF1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#3662AC
Tritanopia (blue-blind)
#98456B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9829af;
/* rgb */ color: rgb(152, 41, 175);
/* oklch */ color: oklch(51.2% 0.211 320.0);
Tailwind
colors: {
  custom: {
    50: '#ba6fc7',
    500: '#9829af',
    950: '#000000',
  },
}
SCSS
$custom: #9829af;
$custom-light: #ba6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9829af",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 289.701,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51193,
    "c": 0.21074,
    "h": 320
  },
  "luminance": 0.11356
}

Semantic roles & 50–950 ramp

primary
#9829AF
secondary
#7DC66E
accent
#E5435F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9829AF

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

Preview Lab → · Contrast checker → · Palette generator →

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