#9732C2#9732C2

#9732C2 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.218 H 313.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9732C2
RGBrgb(151, 50, 194)
HSLhsl(282, 59%, 48%)
HSVhsv(282, 74%, 76%)
CMYKcmyk(22.2%, 74.2%, 0%, 23.9%)
CIE-LABlab(42.39, 62.74, -55.90)
CIE-LCHlch(42.39, 84.03, 318.30°)
OKLaboklab(53.14% 0.1497 -0.1579)
OKLCHoklch(53.14% 0.218 313.5)
XYZxyz(23.6390, 12.7563, 52.2455)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9732C2 #5DC232
analogous
#4F32C2 #9732C2 #C232A5
triadic
#9732C2 #C29732 #32C297
tetradic
#9732C2 #C24F32 #5DC232 #32A5C2
square
#9732C2 #C24F32 #5DC232 #32A5C2
split-complementary
#9732C2 #A5C232 #32C24F
monochromatic
#4B1961 #712591 #9732C2 #B15CD5 #C88DE2

Accessibility & contrast

On white

5.91
#9732C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9732C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9732C2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9732C2#FFFFFF#000000##FFFFFF
##9732C21.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#2566BF
Tritanopia (blue-blind)
#935278
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9732c2;
/* rgb */ color: rgb(151, 50, 194);
/* oklch */ color: oklch(53.1% 0.218 313.5);
Tailwind
colors: {
  custom: {
    50: '#ba74d5',
    500: '#9732c2',
    950: '#000000',
  },
}
SCSS
$custom: #9732c2;
$custom-light: #ba74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9732c2",
  "rgb": {
    "r": 151,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 282.083,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53135,
    "c": 0.21755,
    "h": 313.5
  },
  "luminance": 0.12756
}

Semantic roles & 50–950 ramp

primary
#9732C2
secondary
#99CC84
accent
#E24674
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9732C2

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

Preview Lab → · Contrast checker → · Palette generator →

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