#9732CC#9732CC

#9732CC is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.9% C 0.227 H 310.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9732CC
RGBrgb(151, 50, 204)
HSLhsl(279, 61%, 50%)
HSVhsv(279, 75%, 80%)
CMYKcmyk(26%, 75.5%, 0%, 20%)
CIE-LABlab(43.09, 64.79, -60.58)
CIE-LCHlch(43.09, 88.70, 316.92°)
OKLaboklab(53.85% 0.148 -0.1716)
OKLCHoklch(53.85% 0.227 310.8)
XYZxyz(24.8001, 13.2207, 58.3605)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9732CC #67CC32
analogous
#4A32CC #9732CC #CC32B4
triadic
#9732CC #CC9732 #32CC97
tetradic
#9732CC #CC4A32 #67CC32 #32B4CC
square
#9732CC #CC4A32 #67CC32 #32B4CC
split-complementary
#9732CC #B4CC32 #32CC4A
monochromatic
#4E1A6A #73269B #9732CC #B063D9 #C994E5

Accessibility & contrast

On white

5.76
#9732CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9732CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9732CC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9732CC#FFFFFF#000000##FFFFFF
##9732CC1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0B67C9
Tritanopia (blue-blind)
#90577E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9732cc;
/* rgb */ color: rgb(151, 50, 204);
/* oklch */ color: oklch(53.9% 0.227 310.8);
Tailwind
colors: {
  custom: {
    50: '#bb74dc',
    500: '#9732cc',
    950: '#000000',
  },
}
SCSS
$custom: #9732cc;
$custom-light: #bb74dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9732cc",
  "rgb": {
    "r": 151,
    "g": 50,
    "b": 204
  },
  "hsl": {
    "h": 279.351,
    "s": 60.63,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53851,
    "c": 0.22665,
    "h": 310.8
  },
  "luminance": 0.1322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9732CC

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

Preview Lab → · Contrast checker → · Palette generator →

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