#7A259A#7A259A

#7A259A is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.185 H 314.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7A259A
RGBrgb(122, 37, 154)
HSLhsl(284, 61%, 37%)
HSVhsv(284, 76%, 60%)
CMYKcmyk(20.8%, 76%, 0%, 39.6%)
CIE-LABlab(33.55, 53.70, -46.57)
CIE-LCHlch(33.55, 71.08, 319.07°)
OKLaboklab(45.11% 0.1304 -0.1314)
OKLCHoklch(45.11% 0.185 314.8)
XYZxyz(14.5194, 7.7943, 31.3052)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A259A #459A25
analogous
#40259A #7A259A #9A257F
triadic
#7A259A #9A7A25 #259A7A
tetradic
#7A259A #9A4025 #459A25 #257F9A
square
#7A259A #9A4025 #459A25 #257F9A
split-complementary
#7A259A #7F9A25 #259A40
monochromatic
#2C0D37 #531969 #7A259A #A131CB #B860D9

Accessibility & contrast

On white

8.21
#7A259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7A259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A259A
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A259A#FFFFFF#000000##FFFFFF
##7A259A1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#1F5197
Tritanopia (blue-blind)
#773F5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a259a;
/* rgb */ color: rgb(122, 37, 154);
/* oklch */ color: oklch(45.1% 0.185 314.8);
Tailwind
colors: {
  custom: {
    50: '#a469b8',
    500: '#7a259a',
    950: '#000000',
  },
}
SCSS
$custom: #7a259a;
$custom-light: #a469b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a259a",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 283.59,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45108,
    "c": 0.18512,
    "h": 314.8
  },
  "luminance": 0.07794
}

Semantic roles & 50–950 ramp

primary
#7A259A
secondary
#77BE5D
accent
#E4436F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A259A

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

Preview Lab → · Contrast checker → · Palette generator →

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