#7C1EA0#7C1EA0

#7C1EA0 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.198 H 314.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7C1EA0
RGBrgb(124, 30, 160)
HSLhsl(283, 68%, 37%)
HSVhsv(283, 81%, 63%)
CMYKcmyk(22.5%, 81.3%, 0%, 37.3%)
CIE-LABlab(33.46, 57.73, -50.34)
CIE-LCHlch(33.46, 76.60, 318.91°)
OKLaboklab(45.25% 0.138 -0.1423)
OKLCHoklch(45.25% 0.198 314.1)
XYZxyz(15.1205, 7.7522, 33.9507)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1EA0 #42A01E
analogous
#3B1EA0 #7C1EA0 #A01E83
triadic
#7C1EA0 #A07C1E #1EA07C
tetradic
#7C1EA0 #A03B1E #42A01E #1E83A0
square
#7C1EA0 #A03B1E #42A01E #1E83A0
split-complementary
#7C1EA0 #83A01E #1EA03B
monochromatic
#2C0B39 #54146C #7C1EA0 #A428D4 #BA59E0

Accessibility & contrast

On white

8.23
#7C1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7C1EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1EA0
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1EA0#FFFFFF#000000##FFFFFF
##7C1EA01.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#10519D
Tritanopia (blue-blind)
#783E60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c1ea0;
/* rgb */ color: rgb(124, 30, 160);
/* oklch */ color: oklch(45.2% 0.198 314.1);
Tailwind
colors: {
  custom: {
    50: '#a667bd',
    500: '#7c1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #7c1ea0;
$custom-light: #a667bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1ea0",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 283.385,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45245,
    "c": 0.19824,
    "h": 314.1
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

primary
#7C1EA0
secondary
#75C456
accent
#EB3D6D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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