#7F32BE#7F32BE

#7F32BE is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.8% C 0.207 H 304.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7F32BE
RGBrgb(127, 50, 190)
HSLhsl(273, 58%, 47%)
HSVhsv(273, 74%, 75%)
CMYKcmyk(33.2%, 73.7%, 0%, 25.5%)
CIE-LABlab(38.74, 57.33, -59.63)
CIE-LCHlch(38.74, 82.72, 313.88°)
OKLaboklab(49.76% 0.1185 -0.1697)
OKLCHoklch(49.76% 0.207 304.9)
XYZxyz(19.1852, 10.5110, 49.7233)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F32BE #71BE32
analogous
#3932BE #7F32BE #BE32B7
triadic
#7F32BE #BE7F32 #32BE7F
tetradic
#7F32BE #BE3932 #71BE32 #32B7BE
square
#7F32BE #BE3932 #71BE32 #32B7BE
split-complementary
#7F32BE #B7BE32 #32BE39
monochromatic
#3E195D #5F258E #7F32BE #9D5AD3 #BA8AE0

Accessibility & contrast

On white

6.77
#7F32BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7F32BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F32BE
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F32BE#FFFFFF#000000##FFFFFF
##7F32BE1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f32be;
/* rgb */ color: rgb(127, 50, 190);
/* oklch */ color: oklch(49.8% 0.207 304.9);
Tailwind
colors: {
  custom: {
    50: '#aa71d2',
    500: '#7f32be',
    950: '#000000',
  },
}
SCSS
$custom: #7f32be;
$custom-light: #aa71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f32be",
  "rgb": {
    "r": 127,
    "g": 50,
    "b": 190
  },
  "hsl": {
    "h": 273,
    "s": 58.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49762,
    "c": 0.20697,
    "h": 304.9
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

primary
#7F32BE
secondary
#A2CA82
accent
#E2468C
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F32BE

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

Preview Lab → · Contrast checker → · Palette generator →

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