#7D32BE#7D32BE

#7D32BE is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.207 H 304.1°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7D32BE
RGBrgb(125, 50, 190)
HSLhsl(272, 58%, 47%)
HSVhsv(272, 74%, 75%)
CMYKcmyk(34.2%, 73.7%, 0%, 25.5%)
CIE-LABlab(38.48, 56.97, -60.07)
CIE-LCHlch(38.48, 82.79, 313.48°)
OKLaboklab(49.52% 0.1158 -0.171)
OKLCHoklch(49.52% 0.207 304.1)
XYZxyz(18.8902, 10.3589, 49.7095)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D32BE #73BE32
analogous
#3732BE #7D32BE #BE32B9
triadic
#7D32BE #BE7D32 #32BE7D
tetradic
#7D32BE #BE3732 #73BE32 #32B9BE
square
#7D32BE #BE3732 #73BE32 #32B9BE
split-complementary
#7D32BE #B9BE32 #32BE37
monochromatic
#3D195D #5D258E #7D32BE #9B5AD3 #B88AE0

Accessibility & contrast

On white

6.84
#7D32BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7D32BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D32BE
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D32BE#FFFFFF#000000##FFFFFF
##7D32BE1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#705475
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d32be;
/* rgb */ color: rgb(125, 50, 190);
/* oklch */ color: oklch(49.5% 0.207 304.1);
Tailwind
colors: {
  custom: {
    50: '#a871d3',
    500: '#7d32be',
    950: '#000000',
  },
}
SCSS
$custom: #7d32be;
$custom-light: #a871d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d32be",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 190
  },
  "hsl": {
    "h": 272.143,
    "s": 58.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49518,
    "c": 0.20653,
    "h": 304.1
  },
  "luminance": 0.10359
}

Semantic roles & 50–950 ramp

primary
#7D32BE
secondary
#A3CA82
accent
#E2468E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D32BE

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

Preview Lab → · Contrast checker → · Palette generator →

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