#7C1FA9#7C1FA9

#7C1FA9 is a mid, highly saturated purple. Relative luminance 0.081; OKLCH L 46.0% C 0.205 H 311.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7C1FA9
RGBrgb(124, 31, 169)
HSLhsl(280, 69%, 39%)
HSVhsv(280, 82%, 66%)
CMYKcmyk(26.6%, 81.7%, 0%, 33.7%)
CIE-LABlab(34.25, 59.26, -54.49)
CIE-LCHlch(34.25, 80.50, 317.40°)
OKLaboklab(46.01% 0.1352 -0.1545)
OKLCHoklch(46.01% 0.205 311.2)
XYZxyz(15.9622, 8.1300, 38.2568)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1FA9 #4CA91F
analogous
#371FA9 #7C1FA9 #A91F91
triadic
#7C1FA9 #A97C1F #1FA97C
tetradic
#7C1FA9 #A9371F #4CA91F #1F91A9
square
#7C1FA9 #A9371F #4CA91F #1F91A9
split-complementary
#7C1FA9 #91A91F #1FA937
monochromatic
#300C42 #561675 #7C1FA9 #A02DD8 #B860E2

Accessibility & contrast

On white

8.00
#7C1FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7C1FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1FA9
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1FA9#FFFFFF#000000##FFFFFF
##7C1FA91.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#764365
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7c1fa9;
/* rgb */ color: rgb(124, 31, 169);
/* oklch */ color: oklch(46.0% 0.205 311.2);
Tailwind
colors: {
  custom: {
    50: '#a767c3',
    500: '#7c1fa9',
    950: '#000000',
  },
}
SCSS
$custom: #7c1fa9;
$custom-light: #a767c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1fa9",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 280.435,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46013,
    "c": 0.20533,
    "h": 311.2
  },
  "luminance": 0.0813
}

Semantic roles & 50–950 ramp

primary
#7C1FA9
secondary
#80C75D
accent
#EC3C75
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C1FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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