#7C1895#7C1895

#7C1895 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 44.0% C 0.194 H 318.2°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#7C1895
RGBrgb(124, 24, 149)
HSLhsl(288, 72%, 34%)
HSVhsv(288, 84%, 58%)
CMYKcmyk(16.8%, 83.9%, 0%, 41.6%)
CIE-LABlab(32.05, 57.32, -45.92)
CIE-LCHlch(32.05, 73.45, 321.31°)
OKLaboklab(44% 0.1446 -0.1293)
OKLCHoklch(44% 0.194 318.2)
XYZxyz(14.0629, 7.1090, 29.0594)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1895 #319518
analogous
#3E1895 #7C1895 #951870
triadic
#7C1895 #957C18 #18957C
tetradic
#7C1895 #953E18 #319518 #187095
square
#7C1895 #953E18 #319518 #187095
split-complementary
#7C1895 #709518 #18953E
monochromatic
#24072C #501060 #7C1895 #A820CA #C246E1

Accessibility & contrast

On white

8.67
#7C1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7C1895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1895
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1895#FFFFFF#000000##FFFFFF
##7C18951.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#1F4E92
Tritanopia (blue-blind)
#7B3658
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c1895;
/* rgb */ color: rgb(124, 24, 149);
/* oklch */ color: oklch(44.0% 0.194 318.2);
Tailwind
colors: {
  custom: {
    50: '#a664b5',
    500: '#7c1895',
    950: '#000000',
  },
}
SCSS
$custom: #7c1895;
$custom-light: #a664b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1895",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 288,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44004,
    "c": 0.19396,
    "h": 318.2
  },
  "luminance": 0.07108
}

Semantic roles & 50–950 ramp

primary
#7C1895
secondary
#5FC246
accent
#EF395D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1895

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

Preview Lab → · Contrast checker → · Palette generator →

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