#7A248A#7A248A

#7A248A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.172 H 320.9°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#7A248A
RGBrgb(122, 36, 138)
HSLhsl(291, 59%, 34%)
HSVhsv(291, 74%, 54%)
CMYKcmyk(11.6%, 73.9%, 0%, 45.9%)
CIE-LABlab(32.34, 50.87, -38.70)
CIE-LCHlch(32.34, 63.92, 322.74°)
OKLaboklab(43.9% 0.1332 -0.1083)
OKLCHoklch(43.9% 0.172 320.9)
XYZxyz(13.2438, 7.2350, 24.7387)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A248A #348A24
analogous
#47248A #7A248A #8A2467
triadic
#7A248A #8A7A24 #248A7A
tetradic
#7A248A #8A4724 #348A24 #24678A
square
#7A248A #8A4724 #348A24 #24678A
split-complementary
#7A248A #678A24 #248A47
monochromatic
#240B29 #4F1759 #7A248A #A531BB #BF56D3

Accessibility & contrast

On white

8.58
#7A248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7A248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A248A
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A248A#FFFFFF#000000##FFFFFF
##7A248A1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#2F4F88
Tritanopia (blue-blind)
#7B3755
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a248a;
/* rgb */ color: rgb(122, 36, 138);
/* oklch */ color: oklch(43.9% 0.172 320.9);
Tailwind
colors: {
  custom: {
    50: '#a468ad',
    500: '#7a248a',
    950: '#000000',
  },
}
SCSS
$custom: #7a248a;
$custom-light: #a468ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7a248a",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 290.588,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.439,
    "c": 0.17165,
    "h": 320.9
  },
  "luminance": 0.07234
}

Semantic roles & 50–950 ramp

primary
#7A248A
secondary
#63B753
accent
#E2465E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7A248A

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

Preview Lab → · Contrast checker → · Palette generator →

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