#7C197F#7C197F

#7C197F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.175 H 326.8°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#7C197F
RGBrgb(124, 25, 127)
HSLhsl(298, 67%, 30%)
HSVhsv(298, 80%, 50%)
CMYKcmyk(2.4%, 80.3%, 0%, 50.2%)
CIE-LABlab(30.67, 53.03, -34.48)
CIE-LCHlch(30.67, 63.25, 326.97°)
OKLaboklab(42.56% 0.1465 -0.0959)
OKLCHoklch(42.56% 0.175 326.8)
XYZxyz(12.4904, 6.5135, 20.6739)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C197F #1C7F19
analogous
#49197F #7C197F #7F194F
triadic
#7C197F #7F7C19 #197F7C
tetradic
#7C197F #7F4919 #1C7F19 #194F7F
square
#7C197F #7F4919 #1C7F19 #194F7F
split-complementary
#7C197F #4F7F19 #197F49
monochromatic
#19051A #4A0F4C #7C197F #AE23B2 #D43AD8

Accessibility & contrast

On white

9.12
#7C197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7C197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C197F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C197F#FFFFFF#000000##FFFFFF
##7C197F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#344C7D
Tritanopia (blue-blind)
#802B4C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c197f;
/* rgb */ color: rgb(124, 25, 127);
/* oklch */ color: oklch(42.6% 0.175 326.8);
Tailwind
colors: {
  custom: {
    50: '#a563a4',
    500: '#7c197f',
    950: '#000000',
  },
}
SCSS
$custom: #7c197f;
$custom-light: #a563a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c197f",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 298.235,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42559,
    "c": 0.17503,
    "h": 326.8
  },
  "luminance": 0.06513
}

Semantic roles & 50–950 ramp

primary
#7C197F
secondary
#44B341
accent
#EA3E43
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C197F

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

Preview Lab → · Contrast checker → · Palette generator →

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