#7D32BC#7D32BC

#7D32BC is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.204 H 304.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7D32BC
RGBrgb(125, 50, 188)
HSLhsl(273, 58%, 47%)
HSVhsv(273, 73%, 74%)
CMYKcmyk(33.5%, 73.4%, 0%, 26.3%)
CIE-LABlab(38.33, 56.50, -59.14)
CIE-LCHlch(38.33, 81.80, 313.69°)
OKLaboklab(49.36% 0.1161 -0.1683)
OKLCHoklch(49.36% 0.205 304.6)
XYZxyz(18.6731, 10.2721, 48.5662)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D32BC #71BC32
analogous
#3832BC #7D32BC #BC32B6
triadic
#7D32BC #BC7D32 #32BC7D
tetradic
#7D32BC #BC3832 #71BC32 #32B6BC
square
#7D32BC #BC3832 #71BC32 #32B6BC
split-complementary
#7D32BC #B6BC32 #32BC38
monochromatic
#3D185B #5D258C #7D32BC #9B58D3 #B889E0

Accessibility & contrast

On white

6.88
#7D32BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7D32BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D32BC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D32BC#FFFFFF#000000##FFFFFF
##7D32BC1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#715474
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d32bc;
/* rgb */ color: rgb(125, 50, 188);
/* oklch */ color: oklch(49.4% 0.204 304.6);
Tailwind
colors: {
  custom: {
    50: '#a871d1',
    500: '#7d32bc',
    950: '#000000',
  },
}
SCSS
$custom: #7d32bc;
$custom-light: #a871d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d32bc",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 188
  },
  "hsl": {
    "h": 272.609,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49362,
    "c": 0.2045,
    "h": 304.6
  },
  "luminance": 0.10272
}

Semantic roles & 50–950 ramp

primary
#7D32BC
secondary
#A2C980
accent
#E1478D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D32BC

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

Preview Lab → · Contrast checker → · Palette generator →

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