#7C1EA9#7C1EA9

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

Color values

HEX#7C1EA9
RGBrgb(124, 30, 169)
HSLhsl(281, 70%, 39%)
HSVhsv(281, 82%, 66%)
CMYKcmyk(26.6%, 82.2%, 0%, 33.7%)
CIE-LABlab(34.15, 59.56, -54.66)
CIE-LCHlch(34.15, 80.84, 317.46°)
OKLaboklab(45.94% 0.1359 -0.155)
OKLCHoklch(45.94% 0.206 311.2)
XYZxyz(15.9365, 8.0786, 38.2482)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1EA9 #4BA91E
analogous
#371EA9 #7C1EA9 #A91E91
triadic
#7C1EA9 #A97C1E #1EA97C
tetradic
#7C1EA9 #A9371E #4BA91E #1E91A9
square
#7C1EA9 #A9371E #4BA91E #1E91A9
split-complementary
#7C1EA9 #91A91E #1EA937
monochromatic
#300C41 #561575 #7C1EA9 #A12BD9 #B85FE3

Accessibility & contrast

On white

8.03
#7C1EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7C1EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1EA9
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1EA9#FFFFFF#000000##FFFFFF
##7C1EA91.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1ea9;
/* rgb */ color: rgb(124, 30, 169);
/* oklch */ color: oklch(45.9% 0.206 311.2);
Tailwind
colors: {
  custom: {
    50: '#a767c3',
    500: '#7c1ea9',
    950: '#000000',
  },
}
SCSS
$custom: #7c1ea9;
$custom-light: #a767c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1ea9",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 280.576,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45939,
    "c": 0.20619,
    "h": 311.2
  },
  "luminance": 0.08078
}

Semantic roles & 50–950 ramp

primary
#7C1EA9
secondary
#7FC75C
accent
#ED3B75
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C1EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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