#7D32CF#7D32CF

#7D32CF is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.9% C 0.224 H 300.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7D32CF
RGBrgb(125, 50, 207)
HSLhsl(269, 62%, 50%)
HSVhsv(269, 76%, 81%)
CMYKcmyk(39.6%, 75.8%, 0%, 18.8%)
CIE-LABlab(39.83, 60.96, -67.78)
CIE-LCHlch(39.83, 91.16, 311.97°)
OKLaboklab(50.88% 0.1119 -0.1937)
OKLCHoklch(50.88% 0.224 300)
XYZxyz(20.8577, 11.1460, 60.0719)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D32CF #84CF32
analogous
#3236CF #7D32CF #CB32CF
triadic
#7D32CF #CF7D32 #32CF7D
tetradic
#7D32CF #CF3236 #84CF32 #32CFCB
square
#7D32CF #CF3236 #84CF32 #32CFCB
split-complementary
#7D32CF #CFCB32 #36CF32
monochromatic
#411A6D #5F259F #7D32CF #9C64DB #BC95E6

Accessibility & contrast

On white

6.50
#7D32CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7D32CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D32CF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D32CF#FFFFFF#000000##FFFFFF
##7D32CF1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#6A5B7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d32cf;
/* rgb */ color: rgb(125, 50, 207);
/* oklch */ color: oklch(50.9% 0.224 300.0);
Tailwind
colors: {
  custom: {
    50: '#aa72df',
    500: '#7d32cf',
    950: '#000000',
  },
}
SCSS
$custom: #7d32cf;
$custom-light: #aa72df;
$custom-dark: #000000;
JSON
{
  "hex": "#7d32cf",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 207
  },
  "hsl": {
    "h": 268.662,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50884,
    "c": 0.22371,
    "h": 300
  },
  "luminance": 0.11146
}

Semantic roles & 50–950 ramp

primary
#7D32CF
secondary
#B0D18B
accent
#E54398
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D32CF

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

Preview Lab → · Contrast checker → · Palette generator →

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