#7D32BD#7D32BD

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

Color values

HEX#7D32BD
RGBrgb(125, 50, 189)
HSLhsl(272, 58%, 47%)
HSVhsv(272, 74%, 74%)
CMYKcmyk(33.9%, 73.5%, 0%, 25.9%)
CIE-LABlab(38.40, 56.73, -59.61)
CIE-LCHlch(38.40, 82.29, 313.58°)
OKLaboklab(49.44% 0.116 -0.1697)
OKLCHoklch(49.44% 0.206 304.3)
XYZxyz(18.7813, 10.3154, 49.1359)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D32BD #72BD32
analogous
#3832BD #7D32BD #BD32B8
triadic
#7D32BD #BD7D32 #32BD7D
tetradic
#7D32BD #BD3832 #72BD32 #32B8BD
square
#7D32BD #BD3832 #72BD32 #32B8BD
split-complementary
#7D32BD #B8BD32 #32BD38
monochromatic
#3D185C #5D258D #7D32BD #9B59D3 #B889E0

Accessibility & contrast

On white

6.86
#7D32BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7D32BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D32BD
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D32BD#FFFFFF#000000##FFFFFF
##7D32BD1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#715475
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d32bd;
/* rgb */ color: rgb(125, 50, 189);
/* oklch */ color: oklch(49.4% 0.206 304.3);
Tailwind
colors: {
  custom: {
    50: '#a871d2',
    500: '#7d32bd',
    950: '#000000',
  },
}
SCSS
$custom: #7d32bd;
$custom-light: #a871d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d32bd",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 272.374,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4944,
    "c": 0.20551,
    "h": 304.3
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

primary
#7D32BD
secondary
#A3CA81
accent
#E1468E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D32BD

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

Preview Lab → · Contrast checker → · Palette generator →

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