#7918A1#7918A1

#7918A1 is a dark, highly saturated purple. Relative luminance 0.073; OKLCH L 44.5% C 0.203 H 312.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7918A1
RGBrgb(121, 24, 161)
HSLhsl(282, 74%, 36%)
HSVhsv(282, 85%, 63%)
CMYKcmyk(24.8%, 85.1%, 0%, 36.9%)
CIE-LABlab(32.46, 59.15, -52.59)
CIE-LCHlch(32.46, 79.15, 318.36°)
OKLaboklab(44.48% 0.1381 -0.149)
OKLCHoklch(44.48% 0.203 312.8)
XYZxyz(14.6436, 7.2919, 34.3474)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7918A1 #40A118
analogous
#3518A1 #7918A1 #A11885
triadic
#7918A1 #A17918 #18A179
tetradic
#7918A1 #A13518 #40A118 #1885A1
square
#7918A1 #A13518 #40A118 #1885A1
split-complementary
#7918A1 #85A118 #18A135
monochromatic
#290836 #51106C #7918A1 #A120D6 #B94FE5

Accessibility & contrast

On white

8.54
#7918A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7918A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7918A1
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7918A1#FFFFFF#000000##FFFFFF
##7918A11.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7918a1;
/* rgb */ color: rgb(121, 24, 161);
/* oklch */ color: oklch(44.5% 0.203 312.8);
Tailwind
colors: {
  custom: {
    50: '#a564be',
    500: '#7918a1',
    950: '#000000',
  },
}
SCSS
$custom: #7918a1;
$custom-light: #a564be;
$custom-dark: #000000;
JSON
{
  "hex": "#7918a1",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 282.482,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44476,
    "c": 0.20314,
    "h": 312.8
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#7918A1
secondary
#71C74E
accent
#F1376D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7918A1

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

Preview Lab → · Contrast checker → · Palette generator →

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