#9732CE#9732CE

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

Color values

HEX#9732CE
RGBrgb(151, 50, 206)
HSLhsl(279, 61%, 50%)
HSVhsv(279, 76%, 81%)
CMYKcmyk(26.7%, 75.7%, 0%, 19.2%)
CIE-LABlab(43.24, 65.20, -61.50)
CIE-LCHlch(43.24, 89.63, 316.67°)
OKLaboklab(54% 0.1477 -0.1743)
OKLCHoklch(54% 0.228 310.3)
XYZxyz(25.0415, 13.3173, 59.6319)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9732CE #69CE32
analogous
#4932CE #9732CE #CE32B7
triadic
#9732CE #CE9732 #32CE97
tetradic
#9732CE #CE4932 #69CE32 #32B7CE
square
#9732CE #CE4932 #69CE32 #32B7CE
split-complementary
#9732CE #B7CE32 #32CE49
monochromatic
#4F1A6C #73269D #9732CE #B063DA #C995E6

Accessibility & contrast

On white

5.73
#9732CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9732CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9732CE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9732CE#FFFFFF#000000##FFFFFF
##9732CE1.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)
#0062D2
Deuteranopia (green-blind)
#0168CB
Tritanopia (blue-blind)
#8F587F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9732ce;
/* rgb */ color: rgb(151, 50, 206);
/* oklch */ color: oklch(54.0% 0.228 310.3);
Tailwind
colors: {
  custom: {
    50: '#bb75de',
    500: '#9732ce',
    950: '#000000',
  },
}
SCSS
$custom: #9732ce;
$custom-light: #bb75de;
$custom-dark: #000000;
JSON
{
  "hex": "#9732ce",
  "rgb": {
    "r": 151,
    "g": 50,
    "b": 206
  },
  "hsl": {
    "h": 278.846,
    "s": 61.417,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53997,
    "c": 0.22847,
    "h": 310.3
  },
  "luminance": 0.13317
}

Semantic roles & 50–950 ramp

primary
#9732CE
secondary
#A4D18B
accent
#E5437C
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9732CE

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

Preview Lab → · Contrast checker → · Palette generator →

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