#7C2F89#7C2F89

#7C2F89 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.3% C 0.157 H 321.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7C2F89
RGBrgb(124, 47, 137)
HSLhsl(291, 49%, 36%)
HSVhsv(291, 66%, 54%)
CMYKcmyk(9.5%, 65.7%, 0%, 46.3%)
CIE-LABlab(34.24, 46.51, -35.02)
CIE-LCHlch(34.24, 58.22, 323.02°)
OKLaboklab(45.31% 0.1232 -0.0976)
OKLCHoklch(45.31% 0.157 321.6)
XYZxyz(13.8436, 8.1250, 24.5011)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2F89 #3C892F
analogous
#4F2F89 #7C2F89 #892F69
triadic
#7C2F89 #897C2F #2F897C
tetradic
#7C2F89 #894F2F #3C892F #2F6989
square
#7C2F89 #894F2F #3C892F #2F6989
split-complementary
#7C2F89 #69892F #2F894F
monochromatic
#2A102E #531F5B #7C2F89 #A53FB7 #BD67CB

Accessibility & contrast

On white

8.00
#7C2F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7C2F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2F89
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2F89#FFFFFF#000000##FFFFFF
##7C2F891.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184B8C
Deuteranopia (green-blind)
#395387
Tritanopia (blue-blind)
#7D3E58
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c2f89;
/* rgb */ color: rgb(124, 47, 137);
/* oklch */ color: oklch(45.3% 0.157 321.6);
Tailwind
colors: {
  custom: {
    50: '#a56dac',
    500: '#7c2f89',
    950: '#000000',
  },
}
SCSS
$custom: #7c2f89;
$custom-light: #a56dac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2f89",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 291.333,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45312,
    "c": 0.15717,
    "h": 321.6
  },
  "luminance": 0.08124
}

Semantic roles & 50–950 ramp

primary
#7C2F89
secondary
#6DB262
accent
#D84F63
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C2F89

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

Preview Lab → · Contrast checker → · Palette generator →

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