#7C169E#7C169E

#7C169E is a dark, highly saturated purple. Relative luminance 0.073; OKLCH L 44.6% C 0.203 H 315.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7C169E
RGBrgb(124, 22, 158)
HSLhsl(285, 76%, 35%)
HSVhsv(285, 86%, 62%)
CMYKcmyk(21.5%, 86.1%, 0%, 38%)
CIE-LABlab(32.54, 59.58, -50.62)
CIE-LCHlch(32.54, 78.18, 319.65°)
OKLaboklab(44.56% 0.144 -0.1431)
OKLCHoklch(44.56% 0.203 315.2)
XYZxyz(14.7696, 7.3281, 32.9776)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C169E #389E16
analogous
#38169E #7C169E #9E167C
triadic
#7C169E #9E7C16 #169E7C
tetradic
#7C169E #9E3816 #389E16 #167C9E
square
#7C169E #9E3816 #389E16 #167C9E
split-complementary
#7C169E #7C9E16 #169E38
monochromatic
#280733 #520F68 #7C169E #A61DD4 #BE49E6

Accessibility & contrast

On white

8.52
#7C169E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7C169E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C169E
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C169E#FFFFFF#000000##FFFFFF
##7C169E1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#0A4F9B
Tritanopia (blue-blind)
#793A5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c169e;
/* rgb */ color: rgb(124, 22, 158);
/* oklch */ color: oklch(44.6% 0.203 315.2);
Tailwind
colors: {
  custom: {
    50: '#a764bb',
    500: '#7c169e',
    950: '#000000',
  },
}
SCSS
$custom: #7c169e;
$custom-light: #a764bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c169e",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 158
  },
  "hsl": {
    "h": 285,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44556,
    "c": 0.203,
    "h": 315.2
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#7C169E
secondary
#68C749
accent
#F23665
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C169E

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

Preview Lab → · Contrast checker → · Palette generator →

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