#9829BD#9829BD

#9829BD is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.2% C 0.223 H 315.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9829BD
RGBrgb(152, 41, 189)
HSLhsl(285, 64%, 45%)
HSVhsv(285, 78%, 74%)
CMYKcmyk(19.6%, 78.3%, 0%, 25.9%)
CIE-LABlab(41.11, 65.06, -55.03)
CIE-LCHlch(41.11, 85.21, 319.77°)
OKLaboklab(52.15% 0.1595 -0.1553)
OKLCHoklch(52.15% 0.223 315.8)
XYZxyz(22.9257, 11.9363, 49.2306)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9829BD #4EBD29
analogous
#4E29BD #9829BD #BD2998
triadic
#9829BD #BD9829 #29BD98
tetradic
#9829BD #BD4E29 #4EBD29 #2998BD
square
#9829BD #BD4E29 #4EBD29 #2998BD
split-complementary
#9829BD #98BD29 #29BD4E
monochromatic
#471358 #701E8B #9829BD #B54BD8 #CA7DE3

Accessibility & contrast

On white

6.20
#9829BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9829BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9829BD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9829BD#FFFFFF#000000##FFFFFF
##9829BD1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#2564BA
Tritanopia (blue-blind)
#954B73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9829bd;
/* rgb */ color: rgb(152, 41, 189);
/* oklch */ color: oklch(52.2% 0.223 315.8);
Tailwind
colors: {
  custom: {
    50: '#bb70d2',
    500: '#9829bd',
    950: '#000000',
  },
}
SCSS
$custom: #9829bd;
$custom-light: #bb70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9829bd",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 285,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52153,
    "c": 0.22259,
    "h": 315.8
  },
  "luminance": 0.11935
}

Semantic roles & 50–950 ramp

primary
#9829BD
secondary
#8CCB77
accent
#E7406A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9829BD

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

Preview Lab → · Contrast checker → · Palette generator →

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