#9832DD#9832DD

#9832DD is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 55.3% C 0.242 H 307.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9832DD
RGBrgb(152, 50, 221)
HSLhsl(276, 72%, 53%)
HSVhsv(276, 77%, 87%)
CMYKcmyk(31.2%, 77.4%, 0%, 13.3%)
CIE-LABlab(44.49, 68.53, -68.08)
CIE-LCHlch(44.49, 96.59, 315.19°)
OKLaboklab(55.25% 0.1458 -0.1937)
OKLCHoklch(55.25% 0.242 307)
XYZxyz(27.1378, 14.1774, 69.6995)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9832DD #77DD32
analogous
#4232DD #9832DD #DD32CD
triadic
#9832DD #DD9832 #32DD98
tetradic
#9832DD #DD4232 #77DD32 #32CDDD
square
#9832DD #DD4232 #77DD32 #32CDDD
split-complementary
#9832DD #CDDD32 #32DD42
monochromatic
#55157F #771EB4 #9832DD #B266E6 #CD9BEE

Accessibility & contrast

On white

5.48
#9832DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9832DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9832DD
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9832DD#FFFFFF#000000##FFFFFF
##9832DD1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E2
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#8C5E87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9832dd;
/* rgb */ color: rgb(152, 50, 221);
/* oklch */ color: oklch(55.3% 0.242 307.0);
Tailwind
colors: {
  custom: {
    50: '#bc75e9',
    500: '#9832dd',
    950: '#000000',
  },
}
SCSS
$custom: #9832dd;
$custom-light: #bc75e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9832dd",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 221
  },
  "hsl": {
    "h": 275.789,
    "s": 71.548,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5525,
    "c": 0.24242,
    "h": 307
  },
  "luminance": 0.14177
}

Semantic roles & 50–950 ramp

primary
#9832DD
secondary
#AEDA91
accent
#EE3A82
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9832DD

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

Preview Lab → · Contrast checker → · Palette generator →

#9832DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva