#7A32CF#7A32CF

#7A32CF is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.5% C 0.223 H 298.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7A32CF
RGBrgb(122, 50, 207)
HSLhsl(268, 62%, 50%)
HSVhsv(268, 76%, 81%)
CMYKcmyk(41.1%, 75.8%, 0%, 18.8%)
CIE-LABlab(39.45, 60.48, -68.41)
CIE-LCHlch(39.45, 91.31, 311.48°)
OKLaboklab(50.54% 0.1076 -0.1956)
OKLCHoklch(50.54% 0.223 298.8)
XYZxyz(20.4262, 10.9235, 60.0517)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A32CF #87CF32
analogous
#3238CF #7A32CF #C832CF
triadic
#7A32CF #CF7A32 #32CF7A
tetradic
#7A32CF #CF3238 #87CF32 #32CFC8
square
#7A32CF #CF3238 #87CF32 #32CFC8
split-complementary
#7A32CF #CFC832 #38CF32
monochromatic
#401A6D #5D259F #7A32CF #9A64DB #BA95E6

Accessibility & contrast

On white

6.59
#7A32CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7A32CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A32CF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A32CF#FFFFFF#000000##FFFFFF
##7A32CF1.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#655C7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a32cf;
/* rgb */ color: rgb(122, 50, 207);
/* oklch */ color: oklch(50.5% 0.223 298.8);
Tailwind
colors: {
  custom: {
    50: '#a872df',
    500: '#7a32cf',
    950: '#000000',
  },
}
SCSS
$custom: #7a32cf;
$custom-light: #a872df;
$custom-dark: #000000;
JSON
{
  "hex": "#7a32cf",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 207
  },
  "hsl": {
    "h": 267.516,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5054,
    "c": 0.22331,
    "h": 298.8
  },
  "luminance": 0.10924
}

Semantic roles & 50–950 ramp

primary
#7A32CF
secondary
#B1D18B
accent
#E5439B
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7A32CF

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

Preview Lab → · Contrast checker → · Palette generator →

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