#9832CC#9832CC

#9832CC is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 54.0% C 0.227 H 311.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9832CC
RGBrgb(152, 50, 204)
HSLhsl(280, 61%, 50%)
HSVhsv(280, 75%, 80%)
CMYKcmyk(25.5%, 75.5%, 0%, 20%)
CIE-LABlab(43.24, 64.97, -60.34)
CIE-LCHlch(43.24, 88.67, 317.12°)
OKLaboklab(53.98% 0.1493 -0.1709)
OKLCHoklch(53.98% 0.227 311.1)
XYZxyz(24.9865, 13.3169, 58.3692)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9832CC #66CC32
analogous
#4B32CC #9832CC #CC32B3
triadic
#9832CC #CC9832 #32CC98
tetradic
#9832CC #CC4B32 #66CC32 #32B3CC
square
#9832CC #CC4B32 #66CC32 #32B3CC
split-complementary
#9832CC #B3CC32 #32CC4B
monochromatic
#4F1A6A #73269B #9832CC #B163D9 #C994E5

Accessibility & contrast

On white

5.73
#9832CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9832CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9832CC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9832CC#FFFFFF#000000##FFFFFF
##9832CC1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#1068C9
Tritanopia (blue-blind)
#91577E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9832cc;
/* rgb */ color: rgb(152, 50, 204);
/* oklch */ color: oklch(54.0% 0.227 311.1);
Tailwind
colors: {
  custom: {
    50: '#bb75dc',
    500: '#9832cc',
    950: '#000000',
  },
}
SCSS
$custom: #9832cc;
$custom-light: #bb75dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9832cc",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 204
  },
  "hsl": {
    "h": 279.74,
    "s": 60.63,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53981,
    "c": 0.22694,
    "h": 311.1
  },
  "luminance": 0.13316
}

Semantic roles & 50–950 ramp

primary
#9832CC
secondary
#A2D08A
accent
#E4447A
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9832CC

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

Preview Lab → · Contrast checker → · Palette generator →

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