#7A289D#7A289D

#7A289D is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.185 H 313.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7A289D
RGBrgb(122, 40, 157)
HSLhsl(282, 59%, 39%)
HSVhsv(282, 75%, 62%)
CMYKcmyk(22.3%, 74.5%, 0%, 38.4%)
CIE-LABlab(34.17, 53.17, -47.39)
CIE-LCHlch(34.17, 71.23, 318.29°)
OKLaboklab(45.61% 0.1271 -0.1338)
OKLCHoklch(45.61% 0.185 313.5)
XYZxyz(14.8696, 8.0900, 32.6700)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A289D #4B9D28
analogous
#3F289D #7A289D #9D2885
triadic
#7A289D #9D7A28 #289D7A
tetradic
#7A289D #9D3F28 #4B9D28 #28859D
square
#7A289D #9D3F28 #4B9D28 #28859D
split-complementary
#7A289D #859D28 #289D3F
monochromatic
#2E0F3B #541C6C #7A289D #9F36CC #B667D8

Accessibility & contrast

On white

8.02
#7A289D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7A289D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A289D
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A289D#FFFFFF#000000##FFFFFF
##7A289D1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#1E529A
Tritanopia (blue-blind)
#764260
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a289d;
/* rgb */ color: rgb(122, 40, 157);
/* oklch */ color: oklch(45.6% 0.185 313.5);
Tailwind
colors: {
  custom: {
    50: '#a46abb',
    500: '#7a289d',
    950: '#000000',
  },
}
SCSS
$custom: #7a289d;
$custom-light: #a46abb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a289d",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 282.051,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45613,
    "c": 0.18455,
    "h": 313.5
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#7A289D
secondary
#7EBE62
accent
#E34574
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A289D

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

Preview Lab → · Contrast checker → · Palette generator →

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