#9829BA#9829BA

#9829BA is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.220 H 316.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9829BA
RGBrgb(152, 41, 186)
HSLhsl(286, 64%, 45%)
HSVhsv(286, 78%, 73%)
CMYKcmyk(18.3%, 78%, 0%, 27.1%)
CIE-LABlab(40.91, 64.48, -53.60)
CIE-LCHlch(40.91, 83.85, 320.26°)
OKLaboklab(51.94% 0.16 -0.1511)
OKLCHoklch(51.94% 0.22 316.6)
XYZxyz(22.6034, 11.8074, 47.5333)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9829BA #4BBA29
analogous
#5029BA #9829BA #BA2994
triadic
#9829BA #BA9829 #29BA98
tetradic
#9829BA #BA5029 #4BBA29 #2994BA
square
#9829BA #BA5029 #4BBA29 #2994BA
split-complementary
#9829BA #94BA29 #29BA50
monochromatic
#461356 #6F1E88 #9829BA #B649D7 #CA7BE2

Accessibility & contrast

On white

6.25
#9829BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9829BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9829BA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9829BA#FFFFFF#000000##FFFFFF
##9829BA1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#2964B7
Tritanopia (blue-blind)
#964A71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9829ba;
/* rgb */ color: rgb(152, 41, 186);
/* oklch */ color: oklch(51.9% 0.220 316.6);
Tailwind
colors: {
  custom: {
    50: '#bb70cf',
    500: '#9829ba',
    950: '#000000',
  },
}
SCSS
$custom: #9829ba;
$custom-light: #bb70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9829ba",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 285.931,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51943,
    "c": 0.22003,
    "h": 316.6
  },
  "luminance": 0.11806
}

Semantic roles & 50–950 ramp

primary
#9829BA
secondary
#89CA75
accent
#E74168
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9829BA

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

Preview Lab → · Contrast checker → · Palette generator →

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