#7C2F83#7C2F83

#7C2F83 is a dark, vivid purple. Relative luminance 0.080; OKLCH L 44.9% C 0.151 H 324.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7C2F83
RGBrgb(124, 47, 131)
HSLhsl(295, 47%, 35%)
HSVhsv(295, 64%, 51%)
CMYKcmyk(5.3%, 64.1%, 0%, 48.6%)
CIE-LABlab(33.89, 45.33, -31.86)
CIE-LCHlch(33.89, 55.41, 324.90°)
OKLaboklab(44.95% 0.123 -0.0884)
OKLCHoklch(44.95% 0.151 324.3)
XYZxyz(13.4251, 7.9576, 22.2972)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2F83 #36832F
analogous
#522F83 #7C2F83 #832F60
triadic
#7C2F83 #837C2F #2F837C
tetradic
#7C2F83 #83522F #36832F #2F6083
square
#7C2F83 #83522F #36832F #2F6083
split-complementary
#7C2F83 #60832F #2F8352
monochromatic
#270F29 #511F56 #7C2F83 #A73FB0 #BF65C8

Accessibility & contrast

On white

8.10
#7C2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7C2F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2F83
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2F83#FFFFFF#000000##FFFFFF
##7C2F831.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204A86
Deuteranopia (green-blind)
#3D5381
Tritanopia (blue-blind)
#7E3B54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c2f83;
/* rgb */ color: rgb(124, 47, 131);
/* oklch */ color: oklch(44.9% 0.151 324.3);
Tailwind
colors: {
  custom: {
    50: '#a46da7',
    500: '#7c2f83',
    950: '#000000',
  },
}
SCSS
$custom: #7c2f83;
$custom-light: #a46da7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2f83",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 295,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44948,
    "c": 0.15147,
    "h": 324.3
  },
  "luminance": 0.07957
}

Semantic roles & 50–950 ramp

primary
#7C2F83
secondary
#66AF5F
accent
#D7515C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7C2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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