#7A259B#7A259B

#7A259B is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.186 H 314.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7A259B
RGBrgb(122, 37, 155)
HSLhsl(283, 61%, 38%)
HSVhsv(283, 76%, 61%)
CMYKcmyk(21.3%, 76.1%, 0%, 39.2%)
CIE-LABlab(33.62, 53.91, -47.06)
CIE-LCHlch(33.62, 71.56, 318.88°)
OKLaboklab(45.18% 0.1303 -0.1328)
OKLCHoklch(45.18% 0.186 314.4)
XYZxyz(14.6030, 7.8278, 31.7457)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A259B #469B25
analogous
#3F259B #7A259B #9B2581
triadic
#7A259B #9B7A25 #259B7A
tetradic
#7A259B #9B3F25 #469B25 #25819B
square
#7A259B #9B3F25 #469B25 #25819B
split-complementary
#7A259B #819B25 #259B3F
monochromatic
#2C0D38 #53196A #7A259B #A131CC #B861D9

Accessibility & contrast

On white

8.19
#7A259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A259B
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A259B#FFFFFF#000000##FFFFFF
##7A259B1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#1E5198
Tritanopia (blue-blind)
#773F5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a259b;
/* rgb */ color: rgb(122, 37, 155);
/* oklch */ color: oklch(45.2% 0.186 314.4);
Tailwind
colors: {
  custom: {
    50: '#a469b9',
    500: '#7a259b',
    950: '#000000',
  },
}
SCSS
$custom: #7a259b;
$custom-light: #a469b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a259b",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 283.22,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4518,
    "c": 0.18605,
    "h": 314.4
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

primary
#7A259B
secondary
#78BF5D
accent
#E54370
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A259B

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

Preview Lab → · Contrast checker → · Palette generator →

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