#7C2F86#7C2F86

#7C2F86 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.1% C 0.154 H 322.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7C2F86
RGBrgb(124, 47, 134)
HSLhsl(293, 48%, 35%)
HSVhsv(293, 65%, 53%)
CMYKcmyk(7.5%, 64.9%, 0%, 47.5%)
CIE-LABlab(34.07, 45.92, -33.45)
CIE-LCHlch(34.07, 56.81, 323.93°)
OKLaboklab(45.13% 0.1231 -0.093)
OKLCHoklch(45.13% 0.154 322.9)
XYZxyz(13.6314, 8.0401, 23.3835)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2F86 #39862F
analogous
#502F86 #7C2F86 #862F65
triadic
#7C2F86 #867C2F #2F867C
tetradic
#7C2F86 #86502F #39862F #2F6586
square
#7C2F86 #86502F #39862F #2F6586
split-complementary
#7C2F86 #65862F #2F8650
monochromatic
#280F2B #521F59 #7C2F86 #A63FB3 #BE66C9

Accessibility & contrast

On white

8.05
#7C2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7C2F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2F86
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2F86#FFFFFF#000000##FFFFFF
##7C2F861.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4A89
Deuteranopia (green-blind)
#3B5384
Tritanopia (blue-blind)
#7E3C56
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c2f86;
/* rgb */ color: rgb(124, 47, 134);
/* oklch */ color: oklch(45.1% 0.154 322.9);
Tailwind
colors: {
  custom: {
    50: '#a56da9',
    500: '#7c2f86',
    950: '#000000',
  },
}
SCSS
$custom: #7c2f86;
$custom-light: #a56da9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2f86",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 293.103,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45128,
    "c": 0.15431,
    "h": 322.9
  },
  "luminance": 0.08039
}

Semantic roles & 50–950 ramp

primary
#7C2F86
secondary
#6AB060
accent
#D85060
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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