#9829B3#9829B3

#9829B3 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.214 H 318.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9829B3
RGBrgb(152, 41, 179)
HSLhsl(288, 63%, 43%)
HSVhsv(288, 77%, 70%)
CMYKcmyk(15.1%, 77.1%, 0%, 29.8%)
CIE-LABlab(40.44, 63.16, -50.23)
CIE-LCHlch(40.44, 80.70, 321.50°)
OKLaboklab(51.46% 0.161 -0.1412)
OKLCHoklch(51.46% 0.214 318.7)
XYZxyz(21.8774, 11.5170, 43.7097)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9829B3 #44B329
analogous
#5329B3 #9829B3 #B32989
triadic
#9829B3 #B39829 #29B398
tetradic
#9829B3 #B35329 #44B329 #2989B3
square
#9829B3 #B35329 #44B329 #2989B3
split-complementary
#9829B3 #89B329 #29B353
monochromatic
#43124F #6E1E81 #9829B3 #B845D4 #CB77E0

Accessibility & contrast

On white

6.36
#9829B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9829B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9829B3
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9829B3#FFFFFF#000000##FFFFFF
##9829B31.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#3263B0
Tritanopia (blue-blind)
#98476D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9829b3;
/* rgb */ color: rgb(152, 41, 179);
/* oklch */ color: oklch(51.5% 0.214 318.7);
Tailwind
colors: {
  custom: {
    50: '#ba70ca',
    500: '#9829b3',
    950: '#000000',
  },
}
SCSS
$custom: #9829b3;
$custom-light: #ba70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9829b3",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 288.261,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51461,
    "c": 0.2141,
    "h": 318.7
  },
  "luminance": 0.11516
}

Semantic roles & 50–950 ramp

primary
#9829B3
secondary
#81C770
accent
#E64262
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9829B3

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

Preview Lab → · Contrast checker → · Palette generator →

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