#7A269A#7A269A

#7A269A is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.184 H 314.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7A269A
RGBrgb(122, 38, 154)
HSLhsl(283, 60%, 38%)
HSVhsv(283, 75%, 60%)
CMYKcmyk(20.8%, 75.3%, 0%, 39.6%)
CIE-LABlab(33.68, 53.32, -46.35)
CIE-LCHlch(33.68, 70.65, 319.00°)
OKLaboklab(45.2% 0.1295 -0.1308)
OKLCHoklch(45.2% 0.184 314.7)
XYZxyz(14.5509, 7.8574, 31.3157)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A269A #469A26
analogous
#40269A #7A269A #9A2680
triadic
#7A269A #9A7A26 #269A7A
tetradic
#7A269A #9A4026 #469A26 #26809A
square
#7A269A #9A4026 #469A26 #26809A
split-complementary
#7A269A #809A26 #269A40
monochromatic
#2C0E38 #531A69 #7A269A #A132CB #B862D8

Accessibility & contrast

On white

8.17
#7A269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7A269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A269A
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A269A#FFFFFF#000000##FFFFFF
##7A269A1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#205197
Tritanopia (blue-blind)
#773F5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a269a;
/* rgb */ color: rgb(122, 38, 154);
/* oklch */ color: oklch(45.2% 0.184 314.7);
Tailwind
colors: {
  custom: {
    50: '#a469b8',
    500: '#7a269a',
    950: '#000000',
  },
}
SCSS
$custom: #7a269a;
$custom-light: #a469b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a269a",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 283.448,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45202,
    "c": 0.184,
    "h": 314.7
  },
  "luminance": 0.07857
}

Semantic roles & 50–950 ramp

primary
#7A269A
secondary
#78BE5E
accent
#E44470
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A269A

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

Preview Lab → · Contrast checker → · Palette generator →

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