#7F32BD#7F32BD

#7F32BD is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.7% C 0.206 H 305.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7F32BD
RGBrgb(127, 50, 189)
HSLhsl(273, 58%, 47%)
HSVhsv(273, 74%, 74%)
CMYKcmyk(32.8%, 73.5%, 0%, 25.9%)
CIE-LABlab(38.67, 57.10, -59.16)
CIE-LCHlch(38.67, 82.23, 313.98°)
OKLaboklab(49.69% 0.1187 -0.1683)
OKLCHoklch(49.69% 0.206 305.2)
XYZxyz(19.0762, 10.4675, 49.1497)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F32BD #70BD32
analogous
#3932BD #7F32BD #BD32B6
triadic
#7F32BD #BD7F32 #32BD7F
tetradic
#7F32BD #BD3932 #70BD32 #32B6BD
square
#7F32BD #BD3932 #70BD32 #32B6BD
split-complementary
#7F32BD #B6BD32 #32BD39
monochromatic
#3E185C #5E258D #7F32BD #9D59D3 #B989E0

Accessibility & contrast

On white

6.79
#7F32BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7F32BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F32BD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F32BD#FFFFFF#000000##FFFFFF
##7F32BD1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#735475
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f32bd;
/* rgb */ color: rgb(127, 50, 189);
/* oklch */ color: oklch(49.7% 0.206 305.2);
Tailwind
colors: {
  custom: {
    50: '#a971d2',
    500: '#7f32bd',
    950: '#000000',
  },
}
SCSS
$custom: #7f32bd;
$custom-light: #a971d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f32bd",
  "rgb": {
    "r": 127,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 273.237,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49685,
    "c": 0.20597,
    "h": 305.2
  },
  "luminance": 0.10467
}

Semantic roles & 50–950 ramp

primary
#7F32BD
secondary
#A1CA81
accent
#E1468C
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7F32BD

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

Preview Lab → · Contrast checker → · Palette generator →

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