#9829CA#9829CA

#9829CA is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 53.1% C 0.234 H 312.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9829CA
RGBrgb(152, 41, 202)
HSLhsl(281, 66%, 48%)
HSVhsv(281, 80%, 79%)
CMYKcmyk(24.8%, 79.7%, 0%, 20.8%)
CIE-LABlab(42.04, 67.60, -61.12)
CIE-LCHlch(42.04, 91.13, 317.88°)
OKLaboklab(53.1% 0.157 -0.1731)
OKLCHoklch(53.1% 0.234 312.2)
XYZxyz(24.4005, 12.5263, 56.9981)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9829CA #5BCA29
analogous
#4729CA #9829CA #CA29AC
triadic
#9829CA #CA9829 #29CA98
tetradic
#9829CA #CA4729 #5BCA29 #29ACCA
square
#9829CA #CA4729 #5BCA29 #29ACCA
split-complementary
#9829CA #ACCA29 #29CA47
monochromatic
#4B1464 #721F97 #9829CA #B254DC #C987E7

Accessibility & contrast

On white

5.99
#9829CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9829CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9829CA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9829CA#FFFFFF#000000##FFFFFF
##9829CA1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#92517A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9829ca;
/* rgb */ color: rgb(152, 41, 202);
/* oklch */ color: oklch(53.1% 0.234 312.2);
Tailwind
colors: {
  custom: {
    50: '#bc71db',
    500: '#9829ca',
    950: '#000000',
  },
}
SCSS
$custom: #9829ca;
$custom-light: #bc71db;
$custom-dark: #000000;
JSON
{
  "hex": "#9829ca",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 202
  },
  "hsl": {
    "h": 281.366,
    "s": 66.255,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53095,
    "c": 0.23373,
    "h": 312.2
  },
  "luminance": 0.12526
}

Semantic roles & 50–950 ramp

primary
#9829CA
secondary
#98D07F
accent
#E93F74
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9829CA

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

Preview Lab → · Contrast checker → · Palette generator →

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