#7A168F#7A168F

#7A168F is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.1% C 0.190 H 319.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#7A168F
RGBrgb(122, 22, 143)
HSLhsl(290, 73%, 32%)
HSVhsv(290, 85%, 56%)
CMYKcmyk(14.7%, 84.6%, 0%, 43.9%)
CIE-LABlab(31.10, 56.36, -43.78)
CIE-LCHlch(31.10, 71.36, 322.16°)
OKLaboklab(43.14% 0.1445 -0.1231)
OKLCHoklch(43.14% 0.19 319.6)
XYZxyz(13.2702, 6.6953, 26.5746)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A168F #2B8F16
analogous
#3E168F #7A168F #8F1667
triadic
#7A168F #8F7A16 #168F7A
tetradic
#7A168F #8F3E16 #2B8F16 #16678F
square
#7A168F #8F3E16 #2B8F16 #16678F
split-complementary
#7A168F #678F16 #168F3E
monochromatic
#1F0625 #4D0E5A #7A168F #A71EC4 #C53EE1

Accessibility & contrast

On white

8.98
#7A168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7A168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A168F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A168F#FFFFFF#000000##FFFFFF
##7A168F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#224C8C
Tritanopia (blue-blind)
#7A3355
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a168f;
/* rgb */ color: rgb(122, 22, 143);
/* oklch */ color: oklch(43.1% 0.190 319.6);
Tailwind
colors: {
  custom: {
    50: '#a563b0',
    500: '#7a168f',
    950: '#000000',
  },
}
SCSS
$custom: #7a168f;
$custom-light: #a563b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a168f",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 289.587,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43135,
    "c": 0.18985,
    "h": 319.6
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#7A168F
secondary
#56C13F
accent
#F03858
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A168F

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

Preview Lab → · Contrast checker → · Palette generator →

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