#7C1E9B#7C1E9B

#7C1E9B is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.194 H 315.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7C1E9B
RGBrgb(124, 30, 155)
HSLhsl(285, 68%, 36%)
HSVhsv(285, 81%, 61%)
CMYKcmyk(20%, 80.6%, 0%, 39.2%)
CIE-LABlab(33.09, 56.73, -47.90)
CIE-LCHlch(33.09, 74.24, 319.82°)
OKLaboklab(44.87% 0.139 -0.1352)
OKLCHoklch(44.87% 0.194 315.8)
XYZxyz(14.6919, 7.5808, 31.6933)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E9B #3D9B1E
analogous
#3E1E9B #7C1E9B #9B1E7C
triadic
#7C1E9B #9B7C1E #1E9B7C
tetradic
#7C1E9B #9B3E1E #3D9B1E #1E7C9B
square
#7C1E9B #9B3E1E #3D9B1E #1E7C9B
split-complementary
#7C1E9B #7C9B1E #1E9B3E
monochromatic
#2A0A34 #531468 #7C1E9B #A528CE #BC55DE

Accessibility & contrast

On white

8.35
#7C1E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7C1E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E9B
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E9B#FFFFFF#000000##FFFFFF
##7C1E9B1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#1A5098
Tritanopia (blue-blind)
#7A3C5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c1e9b;
/* rgb */ color: rgb(124, 30, 155);
/* oklch */ color: oklch(44.9% 0.194 315.8);
Tailwind
colors: {
  custom: {
    50: '#a666b9',
    500: '#7c1e9b',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e9b;
$custom-light: #a666b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e9b",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 285.12,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44872,
    "c": 0.19386,
    "h": 315.8
  },
  "luminance": 0.0758
}

Semantic roles & 50–950 ramp

primary
#7C1E9B
secondary
#6FC253
accent
#EA3D68
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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