#7A259D#7A259D

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

Color values

HEX#7A259D
RGBrgb(122, 37, 157)
HSLhsl(283, 62%, 38%)
HSVhsv(283, 76%, 62%)
CMYKcmyk(22.3%, 76.4%, 0%, 38.4%)
CIE-LABlab(33.76, 54.33, -48.05)
CIE-LCHlch(33.76, 72.53, 318.51°)
OKLaboklab(45.33% 0.13 -0.1357)
OKLCHoklch(45.33% 0.188 313.8)
XYZxyz(14.7724, 7.8955, 32.6376)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A259D #489D25
analogous
#3E259D #7A259D #9D2584
triadic
#7A259D #9D7A25 #259D7A
tetradic
#7A259D #9D3E25 #489D25 #25849D
square
#7A259D #9D3E25 #489D25 #25849D
split-complementary
#7A259D #849D25 #259D3E
monochromatic
#2D0E3A #54196B #7A259D #A031CE #B762DA

Accessibility & contrast

On white

8.14
#7A259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7A259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A259D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A259D#FFFFFF#000000##FFFFFF
##7A259D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#1A519A
Tritanopia (blue-blind)
#764060
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a259d;
/* rgb */ color: rgb(122, 37, 157);
/* oklch */ color: oklch(45.3% 0.188 313.8);
Tailwind
colors: {
  custom: {
    50: '#a569bb',
    500: '#7a259d',
    950: '#000000',
  },
}
SCSS
$custom: #7a259d;
$custom-light: #a569bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a259d",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 282.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45326,
    "c": 0.18791,
    "h": 313.8
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

primary
#7A259D
secondary
#7BBF5E
accent
#E54372
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A259D

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

Preview Lab → · Contrast checker → · Palette generator →

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