#7A249C#7A249C

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

Color values

HEX#7A249C
RGBrgb(122, 36, 156)
HSLhsl(283, 63%, 38%)
HSVhsv(283, 77%, 61%)
CMYKcmyk(21.8%, 76.9%, 0%, 38.8%)
CIE-LABlab(33.56, 54.49, -47.77)
CIE-LCHlch(33.56, 72.46, 318.76°)
OKLaboklab(45.16% 0.131 -0.1349)
OKLCHoklch(45.16% 0.188 314.2)
XYZxyz(14.6566, 7.8001, 32.1796)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A249C #469C24
analogous
#3E249C #7A249C #9C2482
triadic
#7A249C #9C7A24 #249C7A
tetradic
#7A249C #9C3E24 #469C24 #24829C
square
#7A249C #9C3E24 #469C24 #24829C
split-complementary
#7A249C #829C24 #249C3E
monochromatic
#2C0D39 #53196A #7A249C #A12FCE #B860DA

Accessibility & contrast

On white

8.20
#7A249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7A249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A249C
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A249C#FFFFFF#000000##FFFFFF
##7A249C1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a249c;
/* rgb */ color: rgb(122, 36, 156);
/* oklch */ color: oklch(45.2% 0.188 314.2);
Tailwind
colors: {
  custom: {
    50: '#a569ba',
    500: '#7a249c',
    950: '#000000',
  },
}
SCSS
$custom: #7a249c;
$custom-light: #a569ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7a249c",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 283,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45161,
    "c": 0.18805,
    "h": 314.2
  },
  "luminance": 0.078
}

Semantic roles & 50–950 ramp

primary
#7A249C
secondary
#78BF5C
accent
#E64271
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A249C

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

Preview Lab → · Contrast checker → · Palette generator →

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