#9829D0#9829D0

#9829D0 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.5% C 0.239 H 310.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9829D0
RGBrgb(152, 41, 208)
HSLhsl(280, 67%, 49%)
HSVhsv(280, 80%, 82%)
CMYKcmyk(26.9%, 80.3%, 0%, 18.4%)
CIE-LABlab(42.48, 68.80, -63.87)
CIE-LCHlch(42.48, 93.88, 317.13°)
OKLaboklab(53.55% 0.1557 -0.1812)
OKLCHoklch(53.55% 0.239 310.7)
XYZxyz(25.1248, 12.8159, 60.8125)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9829D0 #61D029
analogous
#4529D0 #9829D0 #D029B5
triadic
#9829D0 #D09829 #29D098
tetradic
#9829D0 #D04529 #61D029 #29B5D0
square
#9829D0 #D04529 #61D029 #29B5D0
split-complementary
#9829D0 #B5D029 #29D045
monochromatic
#4D156A #731F9D #9829D0 #B158DE #C98BE8

Accessibility & contrast

On white

5.89
#9829D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9829D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9829D0
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9829D0#FFFFFF#000000##FFFFFF
##9829D01.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D4
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#90547E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9829d0;
/* rgb */ color: rgb(152, 41, 208);
/* oklch */ color: oklch(53.5% 0.239 310.7);
Tailwind
colors: {
  custom: {
    50: '#bc71df',
    500: '#9829d0',
    950: '#000000',
  },
}
SCSS
$custom: #9829d0;
$custom-light: #bc71df;
$custom-dark: #000000;
JSON
{
  "hex": "#9829d0",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 208
  },
  "hsl": {
    "h": 279.88,
    "s": 67.068,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53545,
    "c": 0.23891,
    "h": 310.7
  },
  "luminance": 0.12815
}

Semantic roles & 50–950 ramp

primary
#9829D0
secondary
#9DD283
accent
#EA3E78
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9829D0

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

Preview Lab → · Contrast checker → · Palette generator →

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