#9829BC#9829BC

#9829BC is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.222 H 316.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9829BC
RGBrgb(152, 41, 188)
HSLhsl(285, 64%, 45%)
HSVhsv(285, 78%, 74%)
CMYKcmyk(19.1%, 78.2%, 0%, 26.3%)
CIE-LABlab(41.05, 64.87, -54.56)
CIE-LCHlch(41.05, 84.76, 319.93°)
OKLaboklab(52.08% 0.1597 -0.1539)
OKLCHoklch(52.08% 0.222 316.1)
XYZxyz(22.8175, 11.8930, 48.6609)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9829BC #4DBC29
analogous
#4E29BC #9829BC #BC2997
triadic
#9829BC #BC9829 #29BC98
tetradic
#9829BC #BC4E29 #4DBC29 #2997BC
square
#9829BC #BC4E29 #4DBC29 #2997BC
split-complementary
#9829BC #97BC29 #29BC4E
monochromatic
#471358 #6F1E8A #9829BC #B54BD8 #CA7DE3

Accessibility & contrast

On white

6.22
#9829BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9829BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9829BC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9829BC#FFFFFF#000000##FFFFFF
##9829BC1.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)
#005AC0
Deuteranopia (green-blind)
#2664B9
Tritanopia (blue-blind)
#954B72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9829bc;
/* rgb */ color: rgb(152, 41, 188);
/* oklch */ color: oklch(52.1% 0.222 316.1);
Tailwind
colors: {
  custom: {
    50: '#bb70d1',
    500: '#9829bc',
    950: '#000000',
  },
}
SCSS
$custom: #9829bc;
$custom-light: #bb70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9829bc",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 285.306,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52083,
    "c": 0.22173,
    "h": 316.1
  },
  "luminance": 0.11892
}

Semantic roles & 50–950 ramp

primary
#9829BC
secondary
#8BCB76
accent
#E74169
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9829BC

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

Preview Lab → · Contrast checker → · Palette generator →

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