#7A269B#7A269B

#7A269B is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.185 H 314.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7A269B
RGBrgb(122, 38, 155)
HSLhsl(283, 61%, 38%)
HSVhsv(283, 75%, 61%)
CMYKcmyk(21.3%, 75.5%, 0%, 39.2%)
CIE-LABlab(33.75, 53.53, -46.85)
CIE-LCHlch(33.75, 71.14, 318.81°)
OKLaboklab(45.27% 0.1293 -0.1322)
OKLCHoklch(45.27% 0.185 314.4)
XYZxyz(14.6345, 7.8909, 31.7562)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A269B #479B26
analogous
#3F269B #7A269B #9B2681
triadic
#7A269B #9B7A26 #269B7A
tetradic
#7A269B #9B3F26 #479B26 #26819B
square
#7A269B #9B3F26 #479B26 #26819B
split-complementary
#7A269B #819B26 #269B3F
monochromatic
#2D0E39 #531A6A #7A269B #A132CC #B763D9

Accessibility & contrast

On white

8.15
#7A269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7A269B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A269B
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A269B#FFFFFF#000000##FFFFFF
##7A269B1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#1F5198
Tritanopia (blue-blind)
#77405F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a269b;
/* rgb */ color: rgb(122, 38, 155);
/* oklch */ color: oklch(45.3% 0.185 314.4);
Tailwind
colors: {
  custom: {
    50: '#a469b9',
    500: '#7a269b',
    950: '#000000',
  },
}
SCSS
$custom: #7a269b;
$custom-light: #a469b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a269b",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 283.077,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45274,
    "c": 0.18494,
    "h": 314.4
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#7A269B
secondary
#7ABE5F
accent
#E44471
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A269B

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

Preview Lab → · Contrast checker → · Palette generator →

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