#7C199E#7C199E

#7C199E is a dark, highly saturated purple. Relative luminance 0.074; OKLCH L 44.7% C 0.201 H 315.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7C199E
RGBrgb(124, 25, 158)
HSLhsl(285, 73%, 36%)
HSVhsv(285, 84%, 62%)
CMYKcmyk(21.5%, 84.2%, 0%, 38%)
CIE-LABlab(32.81, 58.79, -50.19)
CIE-LCHlch(32.81, 77.30, 319.52°)
OKLaboklab(44.74% 0.142 -0.1419)
OKLCHoklch(44.74% 0.201 315)
XYZxyz(14.8303, 7.4495, 32.9978)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C199E #3B9E19
analogous
#3A199E #7C199E #9E197D
triadic
#7C199E #9E7C19 #199E7C
tetradic
#7C199E #9E3A19 #3B9E19 #197D9E
square
#7C199E #9E3A19 #3B9E19 #197D9E
split-complementary
#7C199E #7D9E19 #199E3A
monochromatic
#290834 #531169 #7C199E #A521D3 #BD4EE3

Accessibility & contrast

On white

8.43
#7C199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7C199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C199E
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C199E#FFFFFF#000000##FFFFFF
##7C199E1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#0E509B
Tritanopia (blue-blind)
#793B5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c199e;
/* rgb */ color: rgb(124, 25, 158);
/* oklch */ color: oklch(44.7% 0.201 315.0);
Tailwind
colors: {
  custom: {
    50: '#a765bb',
    500: '#7c199e',
    950: '#000000',
  },
}
SCSS
$custom: #7c199e;
$custom-light: #a765bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c199e",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 284.662,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44742,
    "c": 0.20075,
    "h": 315
  },
  "luminance": 0.07449
}

Semantic roles & 50–950 ramp

primary
#7C199E
secondary
#6CC54E
accent
#EF3867
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C199E

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

Preview Lab → · Contrast checker → · Palette generator →

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