#7D32B3#7D32B3

#7D32B3 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.7% C 0.195 H 307.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7D32B3
RGBrgb(125, 50, 179)
HSLhsl(275, 56%, 45%)
HSVhsv(275, 72%, 70%)
CMYKcmyk(30.2%, 72.1%, 0%, 29.8%)
CIE-LABlab(37.66, 54.43, -54.92)
CIE-LCHlch(37.66, 77.33, 314.74°)
OKLaboklab(48.68% 0.1177 -0.1559)
OKLCHoklch(48.68% 0.195 307.1)
XYZxyz(17.7330, 9.8961, 43.6150)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D32B3 #68B332
analogous
#3D32B3 #7D32B3 #B332A8
triadic
#7D32B3 #B37D32 #32B37D
tetradic
#7D32B3 #B33D32 #68B332 #32A8B3
square
#7D32B3 #B33D32 #68B332 #32A8B3
split-complementary
#7D32B3 #A8B332 #32B33D
monochromatic
#3A1753 #5C2583 #7D32B3 #9B53CF #B783DC

Accessibility & contrast

On white

7.05
#7D32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7D32B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D32B3
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D32B3#FFFFFF#000000##FFFFFF
##7D32B31.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#74506F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d32b3;
/* rgb */ color: rgb(125, 50, 179);
/* oklch */ color: oklch(48.7% 0.195 307.1);
Tailwind
colors: {
  custom: {
    50: '#a771cb',
    500: '#7d32b3',
    950: '#000000',
  },
}
SCSS
$custom: #7d32b3;
$custom-light: #a771cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d32b3",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 274.884,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48676,
    "c": 0.19537,
    "h": 307.1
  },
  "luminance": 0.09896
}

Semantic roles & 50–950 ramp

primary
#7D32B3
secondary
#9AC67B
accent
#E04888
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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