#7F2C92#7F2C92

#7F2C92 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.171 H 319.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#7F2C92
RGBrgb(127, 44, 146)
HSLhsl(289, 54%, 37%)
HSVhsv(289, 70%, 57%)
CMYKcmyk(13%, 69.9%, 0%, 42.7%)
CIE-LABlab(34.78, 50.36, -39.67)
CIE-LCHlch(34.78, 64.11, 321.77°)
OKLaboklab(45.97% 0.1303 -0.111)
OKLCHoklch(45.97% 0.171 319.6)
XYZxyz(14.8407, 8.3894, 28.0262)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2C92 #3F922C
analogous
#4C2C92 #7F2C92 #922C72
triadic
#7F2C92 #927F2C #2C927F
tetradic
#7F2C92 #924C2C #3F922C #2C7292
square
#7F2C92 #924C2C #3F922C #2C7292
split-complementary
#7F2C92 #72922C #2C924C
monochromatic
#2D1034 #561E63 #7F2C92 #A83AC1 #BD67D1

Accessibility & contrast

On white

7.84
#7F2C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7F2C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2C92
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2C92#FFFFFF#000000##FFFFFF
##7F2C921.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#345590
Tritanopia (blue-blind)
#7F3F5B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7f2c92;
/* rgb */ color: rgb(127, 44, 146);
/* oklch */ color: oklch(46.0% 0.171 319.6);
Tailwind
colors: {
  custom: {
    50: '#a76cb2',
    500: '#7f2c92',
    950: '#000000',
  },
}
SCSS
$custom: #7f2c92;
$custom-light: #a76cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2c92",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 288.824,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45971,
    "c": 0.17122,
    "h": 319.6
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#7F2C92
secondary
#72B862
accent
#DD4B66
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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