#7A289C#7A289C

#7A289C is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.5% C 0.184 H 313.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7A289C
RGBrgb(122, 40, 156)
HSLhsl(282, 59%, 38%)
HSVhsv(282, 74%, 61%)
CMYKcmyk(21.8%, 74.4%, 0%, 38.8%)
CIE-LABlab(34.10, 52.96, -46.90)
CIE-LCHlch(34.10, 70.74, 318.47°)
OKLaboklab(45.54% 0.1272 -0.1324)
OKLCHoklch(45.54% 0.184 313.9)
XYZxyz(14.7846, 8.0559, 32.2222)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A289C #4A9C28
analogous
#40289C #7A289C #9C2884
triadic
#7A289C #9C7A28 #289C7A
tetradic
#7A289C #9C4028 #4A9C28 #28849C
square
#7A289C #9C4028 #4A9C28 #28849C
split-complementary
#7A289C #849C28 #289C40
monochromatic
#2E0F3B #541C6B #7A289C #A036CB #B767D8

Accessibility & contrast

On white

8.04
#7A289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7A289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A289C
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A289C#FFFFFF#000000##FFFFFF
##7A289C1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#1F5299
Tritanopia (blue-blind)
#774160
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a289c;
/* rgb */ color: rgb(122, 40, 156);
/* oklch */ color: oklch(45.5% 0.184 313.9);
Tailwind
colors: {
  custom: {
    50: '#a46aba',
    500: '#7a289c',
    950: '#000000',
  },
}
SCSS
$custom: #7a289c;
$custom-light: #a46aba;
$custom-dark: #000000;
JSON
{
  "hex": "#7a289c",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 282.414,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45541,
    "c": 0.1836,
    "h": 313.9
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#7A289C
secondary
#7DBE62
accent
#E24573
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A289C

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

Preview Lab → · Contrast checker → · Palette generator →

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