#9832CD#9832CD

#9832CD is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.1% C 0.228 H 310.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9832CD
RGBrgb(152, 50, 205)
HSLhsl(279, 61%, 50%)
HSVhsv(279, 76%, 80%)
CMYKcmyk(25.9%, 75.6%, 0%, 19.6%)
CIE-LABlab(43.31, 65.18, -60.80)
CIE-LCHlch(43.31, 89.13, 316.99°)
OKLaboklab(54.05% 0.1491 -0.1723)
OKLCHoklch(54.05% 0.228 310.9)
XYZxyz(25.1068, 13.3650, 59.0029)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9832CD #67CD32
analogous
#4B32CD #9832CD #CD32B4
triadic
#9832CD #CD9832 #32CD98
tetradic
#9832CD #CD4B32 #67CD32 #32B4CD
square
#9832CD #CD4B32 #67CD32 #32B4CD
split-complementary
#9832CD #B4CD32 #32CD4B
monochromatic
#4F1A6B #74269C #9832CD #B163D9 #C994E5

Accessibility & contrast

On white

5.72
#9832CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9832CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9832CD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9832CD#FFFFFF#000000##FFFFFF
##9832CD1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0C68CA
Tritanopia (blue-blind)
#91577E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9832cd;
/* rgb */ color: rgb(152, 50, 205);
/* oklch */ color: oklch(54.1% 0.228 310.9);
Tailwind
colors: {
  custom: {
    50: '#bb75dd',
    500: '#9832cd',
    950: '#000000',
  },
}
SCSS
$custom: #9832cd;
$custom-light: #bb75dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9832cd",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 205
  },
  "hsl": {
    "h": 279.484,
    "s": 60.784,
    "l": 50
  },
  "oklch": {
    "l": 0.54054,
    "c": 0.22784,
    "h": 310.9
  },
  "luminance": 0.13364
}

Semantic roles & 50–950 ramp

primary
#9832CD
secondary
#A2D08B
accent
#E4447B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9832CD

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

Preview Lab → · Contrast checker → · Palette generator →

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