#7F32D0#7F32D0

#7F32D0 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.2% C 0.225 H 300.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7F32D0
RGBrgb(127, 50, 208)
HSLhsl(269, 63%, 51%)
HSVhsv(269, 76%, 82%)
CMYKcmyk(38.9%, 76%, 0%, 18.4%)
CIE-LABlab(40.16, 61.52, -67.81)
CIE-LCHlch(40.16, 91.56, 312.22°)
OKLaboklab(51.2% 0.1145 -0.1937)
OKLCHoklch(51.2% 0.225 300.6)
XYZxyz(21.2753, 11.3471, 60.7316)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F32D0 #83D032
analogous
#3234D0 #7F32D0 #CE32D0
triadic
#7F32D0 #D07F32 #32D07F
tetradic
#7F32D0 #D03234 #83D032 #32D0CE
square
#7F32D0 #D03234 #83D032 #32D0CE
split-complementary
#7F32D0 #D0CE32 #34D032
monochromatic
#43196E #6125A0 #7F32D0 #9E64DB #BD96E7

Accessibility & contrast

On white

6.42
#7F32D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7F32D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F32D0
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F32D0#FFFFFF#000000##FFFFFF
##7F32D01.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED4
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#6C5C80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f32d0;
/* rgb */ color: rgb(127, 50, 208);
/* oklch */ color: oklch(51.2% 0.225 300.6);
Tailwind
colors: {
  custom: {
    50: '#ab72df',
    500: '#7f32d0',
    950: '#000000',
  },
}
SCSS
$custom: #7f32d0;
$custom-light: #ab72df;
$custom-dark: #000000;
JSON
{
  "hex": "#7f32d0",
  "rgb": {
    "r": 127,
    "g": 50,
    "b": 208
  },
  "hsl": {
    "h": 269.241,
    "s": 62.698,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51198,
    "c": 0.22502,
    "h": 300.6
  },
  "luminance": 0.11347
}

Semantic roles & 50–950 ramp

primary
#7F32D0
secondary
#B0D28C
accent
#E64296
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7F32D0

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

Preview Lab → · Contrast checker → · Palette generator →

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