#7F32C0#7F32C0

#7F32C0 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.209 H 304.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7F32C0
RGBrgb(127, 50, 192)
HSLhsl(273, 59%, 47%)
HSVhsv(273, 74%, 75%)
CMYKcmyk(33.9%, 74%, 0%, 24.7%)
CIE-LABlab(38.90, 57.79, -60.55)
CIE-LCHlch(38.90, 83.71, 313.66°)
OKLaboklab(49.92% 0.1181 -0.1724)
OKLCHoklch(49.92% 0.209 304.4)
XYZxyz(19.4053, 10.5991, 50.8825)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F32C0 #73C032
analogous
#3832C0 #7F32C0 #C032BA
triadic
#7F32C0 #C07F32 #32C07F
tetradic
#7F32C0 #C03832 #73C032 #32BAC0
square
#7F32C0 #C03832 #73C032 #32BAC0
split-complementary
#7F32C0 #BAC032 #32C038
monochromatic
#3F195F #5F258F #7F32C0 #9D5BD4 #BA8BE1

Accessibility & contrast

On white

6.73
#7F32C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7F32C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F32C0
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F32C0#FFFFFF#000000##FFFFFF
##7F32C01.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#725577
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f32c0;
/* rgb */ color: rgb(127, 50, 192);
/* oklch */ color: oklch(49.9% 0.209 304.4);
Tailwind
colors: {
  custom: {
    50: '#aa71d4',
    500: '#7f32c0',
    950: '#000000',
  },
}
SCSS
$custom: #7f32c0;
$custom-light: #aa71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f32c0",
  "rgb": {
    "r": 127,
    "g": 50,
    "b": 192
  },
  "hsl": {
    "h": 272.535,
    "s": 58.678,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49918,
    "c": 0.20898,
    "h": 304.4
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#7F32C0
secondary
#A4CB83
accent
#E2468D
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F32C0

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

Preview Lab → · Contrast checker → · Palette generator →

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