#7C2697#7C2697

#7C2697 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.182 H 316.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7C2697
RGBrgb(124, 38, 151)
HSLhsl(286, 60%, 37%)
HSVhsv(286, 75%, 59%)
CMYKcmyk(17.9%, 74.8%, 0%, 40.8%)
CIE-LABlab(33.79, 53.12, -44.35)
CIE-LCHlch(33.79, 69.20, 320.14°)
OKLaboklab(45.27% 0.1324 -0.1248)
OKLCHoklch(45.27% 0.182 316.7)
XYZxyz(14.5904, 7.9063, 30.0297)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2697 #419726
analogous
#442697 #7C2697 #972679
triadic
#7C2697 #977C26 #26977C
tetradic
#7C2697 #974426 #419726 #267997
square
#7C2697 #974426 #419726 #267997
split-complementary
#7C2697 #799726 #269744
monochromatic
#2C0D35 #541A66 #7C2697 #A432C8 #BB60D7

Accessibility & contrast

On white

8.14
#7C2697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7C2697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2697
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2697#FFFFFF#000000##FFFFFF
##7C26971.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#275294
Tritanopia (blue-blind)
#7A3E5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c2697;
/* rgb */ color: rgb(124, 38, 151);
/* oklch */ color: oklch(45.3% 0.182 316.7);
Tailwind
colors: {
  custom: {
    50: '#a669b6',
    500: '#7c2697',
    950: '#000000',
  },
}
SCSS
$custom: #7c2697;
$custom-light: #a669b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2697",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 285.664,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45272,
    "c": 0.18197,
    "h": 316.7
  },
  "luminance": 0.07906
}

Semantic roles & 50–950 ramp

primary
#7C2697
secondary
#73BC5C
accent
#E3456B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2697

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

Preview Lab → · Contrast checker → · Palette generator →

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