#7F32BC#7F32BC

#7F32BC is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.205 H 305.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7F32BC
RGBrgb(127, 50, 188)
HSLhsl(273, 58%, 47%)
HSVhsv(273, 73%, 74%)
CMYKcmyk(32.4%, 73.4%, 0%, 26.3%)
CIE-LABlab(38.59, 56.87, -58.70)
CIE-LCHlch(38.59, 81.73, 314.10°)
OKLaboklab(49.61% 0.1189 -0.1669)
OKLCHoklch(49.61% 0.205 305.5)
XYZxyz(18.9681, 10.4242, 48.5800)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F32BC #6FBC32
analogous
#3A32BC #7F32BC #BC32B4
triadic
#7F32BC #BC7F32 #32BC7F
tetradic
#7F32BC #BC3A32 #6FBC32 #32B4BC
square
#7F32BC #BC3A32 #6FBC32 #32B4BC
split-complementary
#7F32BC #B4BC32 #32BC3A
monochromatic
#3E185B #5E258C #7F32BC #9D58D3 #B989E0

Accessibility & contrast

On white

6.81
#7F32BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7F32BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F32BC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F32BC#FFFFFF#000000##FFFFFF
##7F32BC1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#745374
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f32bc;
/* rgb */ color: rgb(127, 50, 188);
/* oklch */ color: oklch(49.6% 0.205 305.5);
Tailwind
colors: {
  custom: {
    50: '#a971d1',
    500: '#7f32bc',
    950: '#000000',
  },
}
SCSS
$custom: #7f32bc;
$custom-light: #a971d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f32bc",
  "rgb": {
    "r": 127,
    "g": 50,
    "b": 188
  },
  "hsl": {
    "h": 273.478,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49608,
    "c": 0.20496,
    "h": 305.5
  },
  "luminance": 0.10424
}

Semantic roles & 50–950 ramp

primary
#7F32BC
secondary
#A1C980
accent
#E1478B
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7F32BC

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

Preview Lab → · Contrast checker → · Palette generator →

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