#7A269E#7A269E

#7A269E is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.188 H 313.3°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7A269E
RGBrgb(122, 38, 158)
HSLhsl(282, 61%, 38%)
HSVhsv(282, 76%, 62%)
CMYKcmyk(22.8%, 75.9%, 0%, 38%)
CIE-LABlab(33.97, 54.16, -48.33)
CIE-LCHlch(33.97, 72.58, 318.26°)
OKLaboklab(45.49% 0.1289 -0.1365)
OKLCHoklch(45.49% 0.188 313.3)
XYZxyz(14.8896, 7.9929, 33.0996)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A269E #4A9E26
analogous
#3E269E #7A269E #9E2686
triadic
#7A269E #9E7A26 #269E7A
tetradic
#7A269E #9E3E26 #4A9E26 #26869E
square
#7A269E #9E3E26 #4A9E26 #26869E
split-complementary
#7A269E #869E26 #269E3E
monochromatic
#2E0E3B #541A6D #7A269E #A033CE #B765DA

Accessibility & contrast

On white

8.08
#7A269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7A269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A269E
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A269E#FFFFFF#000000##FFFFFF
##7A269E1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#1A529B
Tritanopia (blue-blind)
#764160
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a269e;
/* rgb */ color: rgb(122, 38, 158);
/* oklch */ color: oklch(45.5% 0.188 313.3);
Tailwind
colors: {
  custom: {
    50: '#a56abb',
    500: '#7a269e',
    950: '#000000',
  },
}
SCSS
$custom: #7a269e;
$custom-light: #a56abb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a269e",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 282,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45493,
    "c": 0.18775,
    "h": 313.3
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

primary
#7A269E
secondary
#7DC060
accent
#E44374
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A269E

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

Preview Lab → · Contrast checker → · Palette generator →

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