#7A249A#7A249A

#7A249A is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.186 H 314.9°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7A249A
RGBrgb(122, 36, 154)
HSLhsl(284, 62%, 37%)
HSVhsv(284, 77%, 60%)
CMYKcmyk(20.8%, 76.6%, 0%, 39.6%)
CIE-LABlab(33.42, 54.08, -46.78)
CIE-LCHlch(33.42, 71.50, 319.14°)
OKLaboklab(45.02% 0.1314 -0.132)
OKLCHoklch(45.02% 0.186 314.9)
XYZxyz(14.4887, 7.7329, 31.2950)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A249A #449A24
analogous
#3F249A #7A249A #9A247F
triadic
#7A249A #9A7A24 #249A7A
tetradic
#7A249A #9A3F24 #449A24 #247F9A
square
#7A249A #9A3F24 #449A24 #247F9A
split-complementary
#7A249A #7F9A24 #249A3F
monochromatic
#2B0D37 #531868 #7A249A #A130CC #B85FDA

Accessibility & contrast

On white

8.25
#7A249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7A249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A249A
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A249A#FFFFFF#000000##FFFFFF
##7A249A1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#1E5197
Tritanopia (blue-blind)
#773E5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a249a;
/* rgb */ color: rgb(122, 36, 154);
/* oklch */ color: oklch(45.0% 0.186 314.9);
Tailwind
colors: {
  custom: {
    50: '#a468b8',
    500: '#7a249a',
    950: '#000000',
  },
}
SCSS
$custom: #7a249a;
$custom-light: #a468b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a249a",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 283.729,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45015,
    "c": 0.18622,
    "h": 314.9
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#7A249A
secondary
#76BF5B
accent
#E5436F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A249A

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

Preview Lab → · Contrast checker → · Palette generator →

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