#7D32C9#7D32C9

#7D32C9 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.4% C 0.218 H 301.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7D32C9
RGBrgb(125, 50, 201)
HSLhsl(270, 60%, 49%)
HSVhsv(270, 75%, 79%)
CMYKcmyk(37.8%, 75.1%, 0%, 21.2%)
CIE-LABlab(39.34, 59.54, -65.09)
CIE-LCHlch(39.34, 88.22, 312.45°)
OKLaboklab(50.39% 0.1134 -0.1858)
OKLCHoklch(50.39% 0.218 301.4)
XYZxyz(20.1381, 10.8581, 56.2819)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D32C9 #7EC932
analogous
#3233C9 #7D32C9 #C932C9
triadic
#7D32C9 #C97D32 #32C97D
tetradic
#7D32C9 #C93233 #7EC932 #32C9C9
square
#7D32C9 #C93233 #7EC932 #32C9C9
split-complementary
#7D32C9 #C9C932 #33C932
monochromatic
#401A67 #5F2698 #7D32C9 #9C61D8 #BA92E4

Accessibility & contrast

On white

6.62
#7D32C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7D32C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D32C9
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D32C9#FFFFFF#000000##FFFFFF
##7D32C91.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#6C597C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d32c9;
/* rgb */ color: rgb(125, 50, 201);
/* oklch */ color: oklch(50.4% 0.218 301.4);
Tailwind
colors: {
  custom: {
    50: '#a972da',
    500: '#7d32c9',
    950: '#000000',
  },
}
SCSS
$custom: #7d32c9;
$custom-light: #a972da;
$custom-dark: #000000;
JSON
{
  "hex": "#7d32c9",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 201
  },
  "hsl": {
    "h": 269.801,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50394,
    "c": 0.21766,
    "h": 301.4
  },
  "luminance": 0.10858
}

Semantic roles & 50–950 ramp

primary
#7D32C9
secondary
#ACCF88
accent
#E34494
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D32C9

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

Preview Lab → · Contrast checker → · Palette generator →

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