#7A279B#7A279B

#7A279B is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.184 H 314.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7A279B
RGBrgb(122, 39, 155)
HSLhsl(283, 60%, 38%)
HSVhsv(283, 75%, 61%)
CMYKcmyk(21.3%, 74.8%, 0%, 39.2%)
CIE-LABlab(33.89, 53.14, -46.63)
CIE-LCHlch(33.89, 70.70, 318.73°)
OKLaboklab(45.37% 0.1283 -0.1316)
OKLCHoklch(45.37% 0.184 314.3)
XYZxyz(14.6670, 7.9557, 31.7670)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A279B #489B27
analogous
#40279B #7A279B #9B2782
triadic
#7A279B #9B7A27 #279B7A
tetradic
#7A279B #9B4027 #489B27 #27829B
square
#7A279B #9B4027 #489B27 #27829B
split-complementary
#7A279B #829B27 #279B40
monochromatic
#2D0E39 #541B6A #7A279B #A033CC #B764D8

Accessibility & contrast

On white

8.10
#7A279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7A279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A279B
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A279B#FFFFFF#000000##FFFFFF
##7A279B1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#205298
Tritanopia (blue-blind)
#77405F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a279b;
/* rgb */ color: rgb(122, 39, 155);
/* oklch */ color: oklch(45.4% 0.184 314.3);
Tailwind
colors: {
  custom: {
    50: '#a46ab9',
    500: '#7a279b',
    950: '#000000',
  },
}
SCSS
$custom: #7a279b;
$custom-light: #a46ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a279b",
  "rgb": {
    "r": 122,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 282.931,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45371,
    "c": 0.18381,
    "h": 314.3
  },
  "luminance": 0.07955
}

Semantic roles & 50–950 ramp

primary
#7A279B
secondary
#7BBE60
accent
#E34572
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A279B

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

Preview Lab → · Contrast checker → · Palette generator →

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