#9829B4#9829B4

#9829B4 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.215 H 318.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9829B4
RGBrgb(152, 41, 180)
HSLhsl(288, 63%, 43%)
HSVhsv(288, 77%, 71%)
CMYKcmyk(15.6%, 77.2%, 0%, 29.4%)
CIE-LABlab(40.50, 63.34, -50.72)
CIE-LCHlch(40.50, 81.15, 321.32°)
OKLaboklab(51.53% 0.1608 -0.1426)
OKLCHoklch(51.53% 0.215 318.4)
XYZxyz(21.9789, 11.5576, 44.2443)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9829B4 #45B429
analogous
#5329B4 #9829B4 #B4298A
triadic
#9829B4 #B49829 #29B498
tetradic
#9829B4 #B45329 #45B429 #298AB4
square
#9829B4 #B45329 #45B429 #298AB4
split-complementary
#9829B4 #8AB429 #29B453
monochromatic
#441250 #6E1E82 #9829B4 #B845D5 #CB77E0

Accessibility & contrast

On white

6.34
#9829B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9829B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9829B4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9829B4#FFFFFF#000000##FFFFFF
##9829B41.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#3163B1
Tritanopia (blue-blind)
#97476E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9829b4;
/* rgb */ color: rgb(152, 41, 180);
/* oklch */ color: oklch(51.5% 0.215 318.4);
Tailwind
colors: {
  custom: {
    50: '#bb70cb',
    500: '#9829b4',
    950: '#000000',
  },
}
SCSS
$custom: #9829b4;
$custom-light: #bb70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9829b4",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 287.914,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51529,
    "c": 0.21495,
    "h": 318.4
  },
  "luminance": 0.11557
}

Semantic roles & 50–950 ramp

primary
#9829B4
secondary
#82C871
accent
#E64263
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9829B4

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

Preview Lab → · Contrast checker → · Palette generator →

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