#7D32B8#7D32B8

#7D32B8 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.200 H 305.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7D32B8
RGBrgb(125, 50, 184)
HSLhsl(274, 57%, 46%)
HSVhsv(274, 73%, 72%)
CMYKcmyk(32.1%, 72.8%, 0%, 27.8%)
CIE-LABlab(38.02, 55.58, -57.28)
CIE-LCHlch(38.02, 79.81, 314.14°)
OKLaboklab(49.05% 0.1169 -0.1628)
OKLCHoklch(49.05% 0.2 305.7)
XYZxyz(18.2479, 10.1020, 46.3267)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D32B8 #6DB832
analogous
#3A32B8 #7D32B8 #B832B0
triadic
#7D32B8 #B87D32 #32B87D
tetradic
#7D32B8 #B83A32 #6DB832 #32B0B8
square
#7D32B8 #B83A32 #6DB832 #32B0B8
split-complementary
#7D32B8 #B0B832 #32B83A
monochromatic
#3C1858 #5C2588 #7D32B8 #9B56D1 #B786DE

Accessibility & contrast

On white

6.95
#7D32B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7D32B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D32B8
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D32B8#FFFFFF#000000##FFFFFF
##7D32B81.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#725272
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d32b8;
/* rgb */ color: rgb(125, 50, 184);
/* oklch */ color: oklch(49.1% 0.200 305.7);
Tailwind
colors: {
  custom: {
    50: '#a871ce',
    500: '#7d32b8',
    950: '#000000',
  },
}
SCSS
$custom: #7d32b8;
$custom-light: #a871ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7d32b8",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 273.582,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49054,
    "c": 0.20044,
    "h": 305.7
  },
  "luminance": 0.10102
}

Semantic roles & 50–950 ramp

primary
#7D32B8
secondary
#9EC87E
accent
#E1478B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D32B8

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

Preview Lab → · Contrast checker → · Palette generator →

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