#7A107E#7A107E

#7A107E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.181 H 326.5°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7A107E
RGBrgb(122, 16, 126)
HSLhsl(298, 77%, 28%)
HSVhsv(298, 87%, 49%)
CMYKcmyk(3.2%, 87.3%, 0%, 50.6%)
CIE-LABlab(29.45, 54.76, -35.82)
CIE-LCHlch(29.45, 65.44, 326.81°)
OKLaboklab(41.61% 0.1508 -0.0998)
OKLCHoklch(41.61% 0.181 326.5)
XYZxyz(11.9770, 6.0154, 20.2649)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A107E #147E10
analogous
#43107E #7A107E #7E104B
triadic
#7A107E #7E7A10 #107E7A
tetradic
#7A107E #7E4310 #147E10 #104B7E
square
#7A107E #7E4310 #147E10 #104B7E
split-complementary
#7A107E #4B7E10 #107E43
monochromatic
#1A031B #450948 #7A107E #AF17B4 #DC25E3

Accessibility & contrast

On white

9.53
#7A107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7A107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A107E
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A107E#FFFFFF#000000##FFFFFF
##7A107E1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#2F4A7C
Tritanopia (blue-blind)
#7D274A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a107e;
/* rgb */ color: rgb(122, 16, 126);
/* oklch */ color: oklch(41.6% 0.181 326.5);
Tailwind
colors: {
  custom: {
    50: '#a460a4',
    500: '#7a107e',
    950: '#000000',
  },
}
SCSS
$custom: #7a107e;
$custom-light: #a460a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a107e",
  "rgb": {
    "r": 122,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 297.818,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41605,
    "c": 0.18078,
    "h": 326.5
  },
  "luminance": 0.06015
}

Semantic roles & 50–950 ramp

primary
#7A107E
secondary
#3AB436
accent
#F4343B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10050F
muted
#7F7A7F

Preview Lab

Preview with #7A107E

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

Preview Lab → · Contrast checker → · Palette generator →

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