#7D32A3#7D32A3

#7D32A3 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.179 H 312.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7D32A3
RGBrgb(125, 50, 163)
HSLhsl(280, 53%, 42%)
HSVhsv(280, 69%, 64%)
CMYKcmyk(23.3%, 69.3%, 0%, 36.1%)
CIE-LABlab(36.53, 50.85, -47.19)
CIE-LCHlch(36.53, 69.37, 317.14°)
OKLaboklab(47.52% 0.1198 -0.1332)
OKLCHoklch(47.52% 0.179 312)
XYZxyz(16.2077, 9.2859, 35.5818)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D32A3 #58A332
analogous
#4532A3 #7D32A3 #A33291
triadic
#7D32A3 #A37D32 #32A37D
tetradic
#7D32A3 #A34532 #58A332 #3291A3
square
#7D32A3 #A34532 #58A332 #3291A3
split-complementary
#7D32A3 #91A332 #32A345
monochromatic
#351545 #592474 #7D32A3 #9E4BC8 #B779D6

Accessibility & contrast

On white

7.35
#7D32A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7D32A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D32A3
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D32A3#FFFFFF#000000##FFFFFF
##7D32A31.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#2657A0
Tritanopia (blue-blind)
#794A67
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d32a3;
/* rgb */ color: rgb(125, 50, 163);
/* oklch */ color: oklch(47.5% 0.179 312.0);
Tailwind
colors: {
  custom: {
    50: '#a670bf',
    500: '#7d32a3',
    950: '#000000',
  },
}
SCSS
$custom: #7d32a3;
$custom-light: #a670bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d32a3",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 163
  },
  "hsl": {
    "h": 279.823,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47517,
    "c": 0.17916,
    "h": 312
  },
  "luminance": 0.09286
}

Semantic roles & 50–950 ramp

primary
#7D32A3
secondary
#8CBF72
accent
#DC4B7C
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D32A3

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

Preview Lab → · Contrast checker → · Palette generator →

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