#7C2689#7C2689

#7C2689 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.169 H 322.1°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7C2689
RGBrgb(124, 38, 137)
HSLhsl(292, 57%, 34%)
HSVhsv(292, 72%, 54%)
CMYKcmyk(9.5%, 72.3%, 0%, 46.3%)
CIE-LABlab(32.87, 50.35, -37.21)
CIE-LCHlch(32.87, 62.61, 323.54°)
OKLaboklab(44.33% 0.1336 -0.1039)
OKLCHoklch(44.33% 0.169 322.1)
XYZxyz(13.5202, 7.4782, 24.3934)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2689 #338926
analogous
#4B2689 #7C2689 #892665
triadic
#7C2689 #897C26 #26897C
tetradic
#7C2689 #894B26 #338926 #266589
square
#7C2689 #894B26 #338926 #266589
split-complementary
#7C2689 #658926 #26894B
monochromatic
#250B29 #511959 #7C2689 #A733B9 #C159D1

Accessibility & contrast

On white

8.42
#7C2689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7C2689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2689
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2689#FFFFFF#000000##FFFFFF
##7C26891.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#335187
Tritanopia (blue-blind)
#7D3855
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c2689;
/* rgb */ color: rgb(124, 38, 137);
/* oklch */ color: oklch(44.3% 0.169 322.1);
Tailwind
colors: {
  custom: {
    50: '#a569ac',
    500: '#7c2689',
    950: '#000000',
  },
}
SCSS
$custom: #7c2689;
$custom-light: #a569ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2689",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 292.121,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44327,
    "c": 0.16923,
    "h": 322.1
  },
  "luminance": 0.07477
}

Semantic roles & 50–950 ramp

primary
#7C2689
secondary
#62B655
accent
#E0485C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C2689

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

Preview Lab → · Contrast checker → · Palette generator →

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