#7A259C#7A259C

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

Color values

HEX#7A259C
RGBrgb(122, 37, 156)
HSLhsl(283, 62%, 38%)
HSVhsv(283, 76%, 61%)
CMYKcmyk(21.8%, 76.3%, 0%, 38.8%)
CIE-LABlab(33.69, 54.12, -47.56)
CIE-LCHlch(33.69, 72.04, 318.69°)
OKLaboklab(45.25% 0.1301 -0.1343)
OKLCHoklch(45.25% 0.187 314.1)
XYZxyz(14.6873, 7.8615, 32.1898)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A259C #479C25
analogous
#3E259C #7A259C #9C2582
triadic
#7A259C #9C7A25 #259C7A
tetradic
#7A259C #9C3E25 #479C25 #25829C
square
#7A259C #9C3E25 #479C25 #25829C
split-complementary
#7A259C #829C25 #259C3E
monochromatic
#2D0E39 #53196B #7A259C #A131CD #B762DA

Accessibility & contrast

On white

8.16
#7A259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7A259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A259C
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A259C#FFFFFF#000000##FFFFFF
##7A259C1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#1C5199
Tritanopia (blue-blind)
#77405F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a259c;
/* rgb */ color: rgb(122, 37, 156);
/* oklch */ color: oklch(45.3% 0.187 314.1);
Tailwind
colors: {
  custom: {
    50: '#a569ba',
    500: '#7a259c',
    950: '#000000',
  },
}
SCSS
$custom: #7a259c;
$custom-light: #a569ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7a259c",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 282.857,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45253,
    "c": 0.18698,
    "h": 314.1
  },
  "luminance": 0.07861
}

Semantic roles & 50–950 ramp

primary
#7A259C
secondary
#7ABF5E
accent
#E54371
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A259C

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

Preview Lab → · Contrast checker → · Palette generator →

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