#7F32AF#7F32AF

#7F32AF is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.6% C 0.192 H 309.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7F32AF
RGBrgb(127, 50, 175)
HSLhsl(277, 56%, 44%)
HSVhsv(277, 71%, 69%)
CMYKcmyk(27.4%, 71.4%, 0%, 31.4%)
CIE-LABlab(37.64, 53.93, -52.56)
CIE-LCHlch(37.64, 75.30, 315.74°)
OKLaboklab(48.63% 0.1211 -0.1489)
OKLCHoklch(48.63% 0.192 309.1)
XYZxyz(17.6293, 9.8887, 41.5291)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F32AF #62AF32
analogous
#4132AF #7F32AF #AF32A1
triadic
#7F32AF #AF7F32 #32AF7F
tetradic
#7F32AF #AF4132 #62AF32 #32A1AF
square
#7F32AF #AF4132 #62AF32 #32A1AF
split-complementary
#7F32AF #A1AF32 #32AF41
monochromatic
#3A1750 #5C247F #7F32AF #9E51CD #B881DB

Accessibility & contrast

On white

7.05
#7F32AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7F32AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F32AF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F32AF#FFFFFF#000000##FFFFFF
##7F32AF1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#155AAC
Tritanopia (blue-blind)
#784E6D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7f32af;
/* rgb */ color: rgb(127, 50, 175);
/* oklch */ color: oklch(48.6% 0.192 309.1);
Tailwind
colors: {
  custom: {
    50: '#a871c8',
    500: '#7f32af',
    950: '#000000',
  },
}
SCSS
$custom: #7f32af;
$custom-light: #a871c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f32af",
  "rgb": {
    "r": 127,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 276.96,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48634,
    "c": 0.19189,
    "h": 309.1
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#7F32AF
secondary
#96C479
accent
#DF4983
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7F32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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