#7C2774#7C2774

#7C2774 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.150 H 331.8°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7C2774
RGBrgb(124, 39, 116)
HSLhsl(306, 52%, 32%)
HSVhsv(306, 69%, 49%)
CMYKcmyk(0%, 68.5%, 6.5%, 51.4%)
CIE-LABlab(31.80, 46.11, -25.76)
CIE-LCHlch(31.80, 52.81, 330.81°)
OKLaboklab(43.17% 0.1319 -0.0707)
OKLCHoklch(43.17% 0.15 331.8)
XYZxyz(12.1901, 6.9980, 17.2283)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2774 #277C2F
analogous
#5A277C #7C2774 #7C274A
triadic
#7C2774 #747C27 #27747C
tetradic
#7C2774 #7C5A27 #277C2F #274A7C
square
#7C2774 #7C5A27 #277C2F #274A7C
split-complementary
#7C2774 #4A7C27 #277C5A
monochromatic
#1F0A1D #4D1848 #7C2774 #AB36A0 #C954BE

Accessibility & contrast

On white

8.75
#7C2774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7C2774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2774
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2774#FFFFFF#000000##FFFFFF
##7C27741.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224376
Deuteranopia (green-blind)
#404F72
Tritanopia (blue-blind)
#812F4A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c2774;
/* rgb */ color: rgb(124, 39, 116);
/* oklch */ color: oklch(43.2% 0.150 331.8);
Tailwind
colors: {
  custom: {
    50: '#a5699c',
    500: '#7c2774',
    950: '#000000',
  },
}
SCSS
$custom: #7c2774;
$custom-light: #a5699c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2774",
  "rgb": {
    "r": 124,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 305.647,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43165,
    "c": 0.14967,
    "h": 331.8
  },
  "luminance": 0.06997
}

Semantic roles & 50–950 ramp

primary
#7C2774
secondary
#51AE5A
accent
#DC5A4C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7C2774

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

Preview Lab → · Contrast checker → · Palette generator →

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