#7718A1#7718A1

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

Color values

HEX#7718A1
RGBrgb(119, 24, 161)
HSLhsl(282, 74%, 36%)
HSVhsv(282, 85%, 63%)
CMYKcmyk(26.1%, 85.1%, 0%, 36.9%)
CIE-LABlab(32.14, 58.83, -53.12)
CIE-LCHlch(32.14, 79.26, 317.92°)
OKLaboklab(44.19% 0.1354 -0.1507)
OKLCHoklch(44.19% 0.203 311.9)
XYZxyz(14.3662, 7.1488, 34.3344)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7718A1 #42A118
analogous
#3318A1 #7718A1 #A11887
triadic
#7718A1 #A17718 #18A177
tetradic
#7718A1 #A13318 #42A118 #1887A1
square
#7718A1 #A13318 #42A118 #1887A1
split-complementary
#7718A1 #87A118 #18A133
monochromatic
#280836 #50106C #7718A1 #9E20D6 #B74FE5

Accessibility & contrast

On white

8.64
#7718A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7718A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7718A1
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7718A1#FFFFFF#000000##FFFFFF
##7718A11.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#004D9E
Tritanopia (blue-blind)
#723D5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7718a1;
/* rgb */ color: rgb(119, 24, 161);
/* oklch */ color: oklch(44.2% 0.203 311.9);
Tailwind
colors: {
  custom: {
    50: '#a364be',
    500: '#7718a1',
    950: '#000000',
  },
}
SCSS
$custom: #7718a1;
$custom-light: #a364be;
$custom-dark: #000000;
JSON
{
  "hex": "#7718a1",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 281.606,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4419,
    "c": 0.20254,
    "h": 311.9
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#7718A1
secondary
#73C74E
accent
#F13770
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7718A1

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

Preview Lab → · Contrast checker → · Palette generator →

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