#7918A0#7918A0

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

Color values

HEX#7918A0
RGBrgb(121, 24, 160)
HSLhsl(283, 74%, 36%)
HSVhsv(283, 85%, 63%)
CMYKcmyk(24.4%, 85%, 0%, 37.3%)
CIE-LABlab(32.38, 58.95, -52.11)
CIE-LCHlch(32.38, 78.68, 318.53°)
OKLaboklab(44.4% 0.1383 -0.1476)
OKLCHoklch(44.4% 0.202 313.1)
XYZxyz(14.5558, 7.2568, 33.8848)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7918A0 #3FA018
analogous
#3518A0 #7918A0 #A01883
triadic
#7918A0 #A07918 #18A079
tetradic
#7918A0 #A03518 #3FA018 #1883A0
square
#7918A0 #A03518 #3FA018 #1883A0
split-complementary
#7918A0 #83A018 #18A035
monochromatic
#290836 #51106B #7918A0 #A120D5 #B94EE4

Accessibility & contrast

On white

8.57
#7918A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7918A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7918A0
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7918A0#FFFFFF#000000##FFFFFF
##7918A01.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)
#0048A3
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#753C5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7918a0;
/* rgb */ color: rgb(121, 24, 160);
/* oklch */ color: oklch(44.4% 0.202 313.1);
Tailwind
colors: {
  custom: {
    50: '#a564bd',
    500: '#7918a0',
    950: '#000000',
  },
}
SCSS
$custom: #7918a0;
$custom-light: #a564bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7918a0",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 282.794,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44397,
    "c": 0.20228,
    "h": 313.1
  },
  "luminance": 0.07256
}

Semantic roles & 50–950 ramp

primary
#7918A0
secondary
#70C64D
accent
#F1376C
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7918A0

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

Preview Lab → · Contrast checker → · Palette generator →

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