#7F32C9#7F32C9

#7F32C9 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.6% C 0.218 H 302.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7F32C9
RGBrgb(127, 50, 201)
HSLhsl(271, 60%, 49%)
HSVhsv(271, 75%, 79%)
CMYKcmyk(36.8%, 75.1%, 0%, 21.2%)
CIE-LABlab(39.60, 59.88, -64.66)
CIE-LCHlch(39.60, 88.13, 312.80°)
OKLaboklab(50.63% 0.1162 -0.1845)
OKLCHoklch(50.63% 0.218 302.2)
XYZxyz(20.4331, 11.0102, 56.2957)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F32C9 #7CC932
analogous
#3432C9 #7F32C9 #C932C8
triadic
#7F32C9 #C97F32 #32C97F
tetradic
#7F32C9 #C93432 #7CC932 #32C8C9
square
#7F32C9 #C93432 #7CC932 #32C8C9
split-complementary
#7F32C9 #C8C932 #32C934
monochromatic
#411A67 #602698 #7F32C9 #9D61D8 #BC92E4

Accessibility & contrast

On white

6.56
#7F32C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7F32C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F32C9
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F32C9#FFFFFF#000000##FFFFFF
##7F32C91.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#6F597C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f32c9;
/* rgb */ color: rgb(127, 50, 201);
/* oklch */ color: oklch(50.6% 0.218 302.2);
Tailwind
colors: {
  custom: {
    50: '#aa72da',
    500: '#7f32c9',
    950: '#000000',
  },
}
SCSS
$custom: #7f32c9;
$custom-light: #aa72da;
$custom-dark: #000000;
JSON
{
  "hex": "#7f32c9",
  "rgb": {
    "r": 127,
    "g": 50,
    "b": 201
  },
  "hsl": {
    "h": 270.596,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5063,
    "c": 0.21801,
    "h": 302.2
  },
  "luminance": 0.1101
}

Semantic roles & 50–950 ramp

primary
#7F32C9
secondary
#ABCF88
accent
#E34492
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7F32C9

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

Preview Lab → · Contrast checker → · Palette generator →

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