#7C1D9F#7C1D9F

#7C1D9F is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.198 H 314.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7C1D9F
RGBrgb(124, 29, 159)
HSLhsl(284, 69%, 37%)
HSVhsv(284, 82%, 62%)
CMYKcmyk(22%, 81.8%, 0%, 37.6%)
CIE-LABlab(33.28, 57.84, -50.03)
CIE-LCHlch(33.28, 76.47, 319.14°)
OKLaboklab(45.1% 0.139 -0.1414)
OKLCHoklch(45.1% 0.198 314.5)
XYZxyz(15.0085, 7.6676, 33.4836)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D9F #409F1D
analogous
#3B1D9F #7C1D9F #9F1D81
triadic
#7C1D9F #9F7C1D #1D9F7C
tetradic
#7C1D9F #9F3B1D #409F1D #1D819F
square
#7C1D9F #9F3B1D #409F1D #1D819F
split-complementary
#7C1D9F #819F1D #1D9F3B
monochromatic
#2B0A37 #54146B #7C1D9F #A426D3 #BB56E0

Accessibility & contrast

On white

8.29
#7C1D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7C1D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1D9F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1D9F#FFFFFF#000000##FFFFFF
##7C1D9F1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#11509C
Tritanopia (blue-blind)
#793D5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c1d9f;
/* rgb */ color: rgb(124, 29, 159);
/* oklch */ color: oklch(45.1% 0.198 314.5);
Tailwind
colors: {
  custom: {
    50: '#a666bc',
    500: '#7c1d9f',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d9f;
$custom-light: #a666bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d9f",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 283.846,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45095,
    "c": 0.19826,
    "h": 314.5
  },
  "luminance": 0.07667
}

Semantic roles & 50–950 ramp

primary
#7C1D9F
secondary
#72C454
accent
#EC3C6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C1D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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