#7C1EA7#7C1EA7

#7C1EA7 is a mid, highly saturated purple. Relative luminance 0.080; OKLCH L 45.8% C 0.204 H 311.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7C1EA7
RGBrgb(124, 30, 167)
HSLhsl(281, 70%, 39%)
HSVhsv(281, 82%, 65%)
CMYKcmyk(25.7%, 82%, 0%, 34.5%)
CIE-LABlab(33.99, 59.15, -53.71)
CIE-LCHlch(33.99, 79.90, 317.76°)
OKLaboklab(45.78% 0.1364 -0.1522)
OKLCHoklch(45.78% 0.204 311.9)
XYZxyz(15.7502, 8.0041, 37.2670)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1EA7 #49A71E
analogous
#371EA7 #7C1EA7 #A71E8D
triadic
#7C1EA7 #A77C1E #1EA77C
tetradic
#7C1EA7 #A7371E #49A71E #1E8DA7
square
#7C1EA7 #A7371E #49A71E #1E8DA7
split-complementary
#7C1EA7 #8DA71E #1EA737
monochromatic
#2F0B3F #551573 #7C1EA7 #A22AD9 #B85DE2

Accessibility & contrast

On white

8.07
#7C1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7C1EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1EA7
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1EA7#FFFFFF#000000##FFFFFF
##7C1EA71.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#774164
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c1ea7;
/* rgb */ color: rgb(124, 30, 167);
/* oklch */ color: oklch(45.8% 0.204 311.9);
Tailwind
colors: {
  custom: {
    50: '#a767c2',
    500: '#7c1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #7c1ea7;
$custom-light: #a767c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1ea7",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 281.168,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45783,
    "c": 0.20442,
    "h": 311.9
  },
  "luminance": 0.08004
}

Semantic roles & 50–950 ramp

primary
#7C1EA7
secondary
#7CC65B
accent
#EC3B73
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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