#7A108D#7A108D

#7A108D is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.7% C 0.193 H 320.5°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7A108D
RGBrgb(122, 16, 141)
HSLhsl(291, 80%, 31%)
HSVhsv(291, 89%, 55%)
CMYKcmyk(13.5%, 88.7%, 0%, 44.7%)
CIE-LABlab(30.48, 57.40, -43.55)
CIE-LCHlch(30.48, 72.05, 322.82°)
OKLaboklab(42.65% 0.1486 -0.1224)
OKLCHoklch(42.65% 0.193 320.5)
XYZxyz(13.0185, 6.4320, 25.7499)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A108D #238D10
analogous
#3B108D #7A108D #8D1061
triadic
#7A108D #8D7A10 #108D7A
tetradic
#7A108D #8D3B10 #238D10 #10618D
square
#7A108D #8D3B10 #238D10 #10618D
split-complementary
#7A108D #618D10 #108D3B
monochromatic
#1B041F #4A0A56 #7A108D #AA16C4 #CC30E7

Accessibility & contrast

On white

9.19
#7A108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7A108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A108D
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A108D#FFFFFF#000000##FFFFFF
##7A108D1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#214B8A
Tritanopia (blue-blind)
#7A2F53
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a108d;
/* rgb */ color: rgb(122, 16, 141);
/* oklch */ color: oklch(42.7% 0.193 320.5);
Tailwind
colors: {
  custom: {
    50: '#a561af',
    500: '#7a108d',
    950: '#000000',
  },
}
SCSS
$custom: #7a108d;
$custom-light: #a561af;
$custom-dark: #000000;
JSON
{
  "hex": "#7a108d",
  "rgb": {
    "r": 122,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 290.88,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42652,
    "c": 0.19253,
    "h": 320.5
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#7A108D
secondary
#4CC237
accent
#F63250
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A108D

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

Preview Lab → · Contrast checker → · Palette generator →

#7A108D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva