#7A269C#7A269C

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

Color values

HEX#7A269C
RGBrgb(122, 38, 156)
HSLhsl(283, 61%, 38%)
HSVhsv(283, 76%, 61%)
CMYKcmyk(21.8%, 75.6%, 0%, 38.8%)
CIE-LABlab(33.83, 53.74, -47.34)
CIE-LCHlch(33.83, 71.62, 318.62°)
OKLaboklab(45.35% 0.1292 -0.1337)
OKLCHoklch(45.35% 0.186 314)
XYZxyz(14.7189, 7.9246, 32.2003)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A269C #489C26
analogous
#3F269C #7A269C #9C2683
triadic
#7A269C #9C7A26 #269C7A
tetradic
#7A269C #9C3F26 #489C26 #26839C
square
#7A269C #9C3F26 #489C26 #26839C
split-complementary
#7A269C #839C26 #269C3F
monochromatic
#2D0E3A #541A6B #7A269C #A032CD #B763D9

Accessibility & contrast

On white

8.12
#7A269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A269C
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A269C#FFFFFF#000000##FFFFFF
##7A269C1.008.122.588.12
#FFFFFF8.121.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#1D5199
Tritanopia (blue-blind)
#77405F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a269c;
/* rgb */ color: rgb(122, 38, 156);
/* oklch */ color: oklch(45.3% 0.186 314.0);
Tailwind
colors: {
  custom: {
    50: '#a469ba',
    500: '#7a269c',
    950: '#000000',
  },
}
SCSS
$custom: #7a269c;
$custom-light: #a469ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7a269c",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 282.712,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45347,
    "c": 0.18587,
    "h": 314
  },
  "luminance": 0.07924
}

Semantic roles & 50–950 ramp

primary
#7A269C
secondary
#7BBF5F
accent
#E44472
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A269C

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

Preview Lab → · Contrast checker → · Palette generator →

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