#7A269F#7A269F

#7A269F is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.189 H 313.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7A269F
RGBrgb(122, 38, 159)
HSLhsl(282, 61%, 39%)
HSVhsv(282, 76%, 62%)
CMYKcmyk(23.3%, 76.1%, 0%, 37.6%)
CIE-LABlab(34.04, 54.37, -48.82)
CIE-LCHlch(34.04, 73.07, 318.08°)
OKLaboklab(45.57% 0.1287 -0.138)
OKLCHoklch(45.57% 0.189 313)
XYZxyz(14.9760, 8.0275, 33.5547)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A269F #4B9F26
analogous
#3D269F #7A269F #9F2687
triadic
#7A269F #9F7A26 #269F7A
tetradic
#7A269F #9F3D26 #4B9F26 #26879F
square
#7A269F #9F3D26 #4B9F26 #26879F
split-complementary
#7A269F #879F26 #269F3D
monochromatic
#2E0E3C #541A6E #7A269F #9F34CE #B665DA

Accessibility & contrast

On white

8.06
#7A269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7A269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A269F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A269F#FFFFFF#000000##FFFFFF
##7A269F1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#18529C
Tritanopia (blue-blind)
#764261
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a269f;
/* rgb */ color: rgb(122, 38, 159);
/* oklch */ color: oklch(45.6% 0.189 313.0);
Tailwind
colors: {
  custom: {
    50: '#a56abc',
    500: '#7a269f',
    950: '#000000',
  },
}
SCSS
$custom: #7a269f;
$custom-light: #a56abc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a269f",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 281.653,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45567,
    "c": 0.18869,
    "h": 313
  },
  "luminance": 0.08027
}

Semantic roles & 50–950 ramp

primary
#7A269F
secondary
#7EC061
accent
#E54375
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A269F

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

Preview Lab → · Contrast checker → · Palette generator →

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