#7F32BB#7F32BB

#7F32BB is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.204 H 305.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7F32BB
RGBrgb(127, 50, 187)
HSLhsl(274, 58%, 46%)
HSVhsv(274, 73%, 73%)
CMYKcmyk(32.1%, 73.3%, 0%, 26.7%)
CIE-LABlab(38.52, 56.65, -58.23)
CIE-LCHlch(38.52, 81.24, 314.21°)
OKLaboklab(49.53% 0.1191 -0.1656)
OKLCHoklch(49.53% 0.204 305.7)
XYZxyz(18.8607, 10.3812, 48.0142)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F32BB #6EBB32
analogous
#3B32BB #7F32BB #BB32B3
triadic
#7F32BB #BB7F32 #32BB7F
tetradic
#7F32BB #BB3B32 #6EBB32 #32B3BB
square
#7F32BB #BB3B32 #6EBB32 #32B3BB
split-complementary
#7F32BB #B3BB32 #32BB3B
monochromatic
#3D185A #5E258B #7F32BB #9D58D2 #B988DF

Accessibility & contrast

On white

6.83
#7F32BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F32BB
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F32BB#FFFFFF#000000##FFFFFF
##7F32BB1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#745374
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f32bb;
/* rgb */ color: rgb(127, 50, 187);
/* oklch */ color: oklch(49.5% 0.204 305.7);
Tailwind
colors: {
  custom: {
    50: '#a971d0',
    500: '#7f32bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f32bb;
$custom-light: #a971d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f32bb",
  "rgb": {
    "r": 127,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 273.723,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49531,
    "c": 0.20395,
    "h": 305.7
  },
  "luminance": 0.10381
}

Semantic roles & 50–950 ramp

primary
#7F32BB
secondary
#A0C980
accent
#E1478A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7F32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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