#7A269D#7A269D

#7A269D is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.187 H 313.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7A269D
RGBrgb(122, 38, 157)
HSLhsl(282, 61%, 38%)
HSVhsv(282, 76%, 62%)
CMYKcmyk(22.3%, 75.8%, 0%, 38.4%)
CIE-LABlab(33.90, 53.95, -47.84)
CIE-LCHlch(33.90, 72.10, 318.44°)
OKLaboklab(45.42% 0.129 -0.1351)
OKLCHoklch(45.42% 0.187 313.7)
XYZxyz(14.8039, 7.9586, 32.6481)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A269D #499D26
analogous
#3E269D #7A269D #9D2684
triadic
#7A269D #9D7A26 #269D7A
tetradic
#7A269D #9D3E26 #499D26 #26849D
square
#7A269D #9D3E26 #499D26 #26849D
split-complementary
#7A269D #849D26 #269D3E
monochromatic
#2D0E3A #541A6C #7A269D #A033CE #B764D9

Accessibility & contrast

On white

8.10
#7A269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7A269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A269D
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A269D#FFFFFF#000000##FFFFFF
##7A269D1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a269d;
/* rgb */ color: rgb(122, 38, 157);
/* oklch */ color: oklch(45.4% 0.187 313.7);
Tailwind
colors: {
  custom: {
    50: '#a569bb',
    500: '#7a269d',
    950: '#000000',
  },
}
SCSS
$custom: #7a269d;
$custom-light: #a569bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a269d",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 282.353,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4542,
    "c": 0.18681,
    "h": 313.7
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#7A269D
secondary
#7CBF60
accent
#E44473
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A269D

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

Preview Lab → · Contrast checker → · Palette generator →

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