#7A18A0#7A18A0

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

Color values

HEX#7A18A0
RGBrgb(122, 24, 160)
HSLhsl(283, 74%, 36%)
HSVhsv(283, 85%, 63%)
CMYKcmyk(23.7%, 85%, 0%, 37.3%)
CIE-LABlab(32.55, 59.12, -51.84)
CIE-LCHlch(32.55, 78.63, 318.75°)
OKLaboklab(44.54% 0.1396 -0.1468)
OKLCHoklch(44.54% 0.203 313.6)
XYZxyz(14.6967, 7.3294, 33.8914)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A18A0 #3EA018
analogous
#3618A0 #7A18A0 #A01882
triadic
#7A18A0 #A07A18 #18A07A
tetradic
#7A18A0 #A03618 #3EA018 #1882A0
square
#7A18A0 #A03618 #3EA018 #1882A0
split-complementary
#7A18A0 #82A018 #18A036
monochromatic
#290836 #51106B #7A18A0 #A320D5 #BA4EE4

Accessibility & contrast

On white

8.52
#7A18A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7A18A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A18A0
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A18A0#FFFFFF#000000##FFFFFF
##7A18A01.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#004F9D
Tritanopia (blue-blind)
#763C5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a18a0;
/* rgb */ color: rgb(122, 24, 160);
/* oklch */ color: oklch(44.5% 0.203 313.6);
Tailwind
colors: {
  custom: {
    50: '#a564bd',
    500: '#7a18a0',
    950: '#000000',
  },
}
SCSS
$custom: #7a18a0;
$custom-light: #a564bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a18a0",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 283.235,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44541,
    "c": 0.20259,
    "h": 313.6
  },
  "luminance": 0.07329
}

Semantic roles & 50–950 ramp

primary
#7A18A0
secondary
#6FC64D
accent
#F1376B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7A18A0

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

Preview Lab → · Contrast checker → · Palette generator →

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