#7A259F#7A259F

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

Color values

HEX#7A259F
RGBrgb(122, 37, 159)
HSLhsl(282, 62%, 38%)
HSVhsv(282, 77%, 62%)
CMYKcmyk(23.3%, 76.7%, 0%, 37.6%)
CIE-LABlab(33.91, 54.74, -49.03)
CIE-LCHlch(33.91, 73.49, 318.15°)
OKLaboklab(45.47% 0.1296 -0.1386)
OKLCHoklch(45.47% 0.19 313.1)
XYZxyz(14.9445, 7.9644, 33.5442)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A259F #4A9F25
analogous
#3D259F #7A259F #9F2587
triadic
#7A259F #9F7A25 #259F7A
tetradic
#7A259F #9F3D25 #4A9F25 #25879F
square
#7A259F #9F3D25 #4A9F25 #25879F
split-complementary
#7A259F #879F25 #259F3D
monochromatic
#2E0E3C #54196D #7A259F #A032CF #B764DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A259F#FFFFFF#000000##FFFFFF
##7A259F1.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)
#004BA2
Deuteranopia (green-blind)
#17529C
Tritanopia (blue-blind)
#764161
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a259f;
/* rgb */ color: rgb(122, 37, 159);
/* oklch */ color: oklch(45.5% 0.190 313.1);
Tailwind
colors: {
  custom: {
    50: '#a569bc',
    500: '#7a259f',
    950: '#000000',
  },
}
SCSS
$custom: #7a259f;
$custom-light: #a569bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a259f",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 281.803,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45474,
    "c": 0.18977,
    "h": 313.1
  },
  "luminance": 0.07964
}

Semantic roles & 50–950 ramp

primary
#7A259F
secondary
#7DC05F
accent
#E54274
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A259F

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

Preview Lab → · Contrast checker → · Palette generator →

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