#7D32C7#7D32C7

#7D32C7 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.2% C 0.216 H 301.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7D32C7
RGBrgb(125, 50, 199)
HSLhsl(270, 60%, 49%)
HSVhsv(270, 75%, 78%)
CMYKcmyk(37.2%, 74.9%, 0%, 22%)
CIE-LABlab(39.18, 59.07, -64.19)
CIE-LCHlch(39.18, 87.23, 312.62°)
OKLaboklab(50.23% 0.1138 -0.1831)
OKLCHoklch(50.23% 0.216 301.9)
XYZxyz(19.9044, 10.7646, 55.0509)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D32C7 #7CC732
analogous
#3332C7 #7D32C7 #C732C7
triadic
#7D32C7 #C77D32 #32C77D
tetradic
#7D32C7 #C73332 #7CC732 #32C7C7
square
#7D32C7 #C73332 #7CC732 #32C7C7
split-complementary
#7D32C7 #C7C732 #32C733
monochromatic
#401965 #5E2696 #7D32C7 #9C5FD7 #BA90E3

Accessibility & contrast

On white

6.66
#7D32C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7D32C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D32C7
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D32C7#FFFFFF#000000##FFFFFF
##7D32C71.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCB
Deuteranopia (green-blind)
#005CC4
Tritanopia (blue-blind)
#6D587B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d32c7;
/* rgb */ color: rgb(125, 50, 199);
/* oklch */ color: oklch(50.2% 0.216 301.9);
Tailwind
colors: {
  custom: {
    50: '#a971d9',
    500: '#7d32c7',
    950: '#000000',
  },
}
SCSS
$custom: #7d32c7;
$custom-light: #a971d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d32c7",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 270.201,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50232,
    "c": 0.21564,
    "h": 301.9
  },
  "luminance": 0.10765
}

Semantic roles & 50–950 ramp

primary
#7D32C7
secondary
#AACE87
accent
#E34593
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D32C7

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

Preview Lab → · Contrast checker → · Palette generator →

#7D32C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva