#7717A1#7717A1

#7717A1 is a dark, highly saturated purple. Relative luminance 0.071; OKLCH L 44.1% C 0.203 H 312.0°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#7717A1
RGBrgb(119, 23, 161)
HSLhsl(282, 75%, 36%)
HSVhsv(282, 86%, 63%)
CMYKcmyk(26.1%, 85.7%, 0%, 36.9%)
CIE-LABlab(32.05, 59.09, -53.27)
CIE-LCHlch(32.05, 79.56, 317.97°)
OKLaboklab(44.13% 0.136 -0.1511)
OKLCHoklch(44.13% 0.203 312)
XYZxyz(14.3460, 7.1084, 34.3276)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7717A1 #41A117
analogous
#3217A1 #7717A1 #A11786
triadic
#7717A1 #A17717 #17A177
tetradic
#7717A1 #A13217 #41A117 #1786A1
square
#7717A1 #A13217 #41A117 #1786A1
split-complementary
#7717A1 #86A117 #17A132
monochromatic
#280836 #4F0F6B #7717A1 #9F1FD7 #B74DE6

Accessibility & contrast

On white

8.67
#7717A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7717A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7717A1
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7717A1#FFFFFF#000000##FFFFFF
##7717A11.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)
#0047A5
Deuteranopia (green-blind)
#004D9E
Tritanopia (blue-blind)
#723D5F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7717a1;
/* rgb */ color: rgb(119, 23, 161);
/* oklch */ color: oklch(44.1% 0.203 312.0);
Tailwind
colors: {
  custom: {
    50: '#a363be',
    500: '#7717a1',
    950: '#000000',
  },
}
SCSS
$custom: #7717a1;
$custom-light: #a363be;
$custom-dark: #000000;
JSON
{
  "hex": "#7717a1",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 281.739,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44127,
    "c": 0.20329,
    "h": 312
  },
  "luminance": 0.07108
}

Semantic roles & 50–950 ramp

primary
#7717A1
secondary
#72C74C
accent
#F2366F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7717A1

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

Preview Lab → · Contrast checker → · Palette generator →

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