#7917A1#7917A1

#7917A1 is a dark, highly saturated purple. Relative luminance 0.073; OKLCH L 44.4% C 0.204 H 312.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7917A1
RGBrgb(121, 23, 161)
HSLhsl(283, 75%, 36%)
HSVhsv(283, 86%, 63%)
CMYKcmyk(24.8%, 85.7%, 0%, 36.9%)
CIE-LABlab(32.37, 59.42, -52.74)
CIE-LCHlch(32.37, 79.45, 318.41°)
OKLaboklab(44.41% 0.1387 -0.1494)
OKLCHoklch(44.41% 0.204 312.9)
XYZxyz(14.6234, 7.2514, 34.3406)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7917A1 #3FA117
analogous
#3417A1 #7917A1 #A11784
triadic
#7917A1 #A17917 #17A179
tetradic
#7917A1 #A13417 #3FA117 #1784A1
square
#7917A1 #A13417 #3FA117 #1784A1
split-complementary
#7917A1 #84A117 #17A134
monochromatic
#290836 #510F6B #7917A1 #A11FD7 #B94DE6

Accessibility & contrast

On white

8.57
#7917A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7917A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7917A1
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7917A1#FFFFFF#000000##FFFFFF
##7917A11.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#743C5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7917a1;
/* rgb */ color: rgb(121, 23, 161);
/* oklch */ color: oklch(44.4% 0.204 312.9);
Tailwind
colors: {
  custom: {
    50: '#a564be',
    500: '#7917a1',
    950: '#000000',
  },
}
SCSS
$custom: #7917a1;
$custom-light: #a564be;
$custom-dark: #000000;
JSON
{
  "hex": "#7917a1",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 282.609,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44413,
    "c": 0.20388,
    "h": 312.9
  },
  "luminance": 0.07251
}

Semantic roles & 50–950 ramp

primary
#7917A1
secondary
#70C74C
accent
#F2366D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7917A1

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

Preview Lab → · Contrast checker → · Palette generator →

#7917A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva