#7A249F#7A249F

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

Color values

HEX#7A249F
RGBrgb(122, 36, 159)
HSLhsl(282, 63%, 38%)
HSVhsv(282, 77%, 62%)
CMYKcmyk(23.3%, 77.4%, 0%, 37.6%)
CIE-LABlab(33.78, 55.11, -49.24)
CIE-LCHlch(33.78, 73.90, 318.22°)
OKLaboklab(45.38% 0.1305 -0.1392)
OKLCHoklch(45.38% 0.191 313.2)
XYZxyz(14.9138, 7.9030, 33.5340)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A249F #499F24
analogous
#3C249F #7A249F #9F2486
triadic
#7A249F #9F7A24 #249F7A
tetradic
#7A249F #9F3C24 #499F24 #24869F
square
#7A249F #9F3C24 #499F24 #24869F
split-complementary
#7A249F #869F24 #249F3C
monochromatic
#2D0D3B #54196D #7A249F #A030D0 #B762DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A249F#FFFFFF#000000##FFFFFF
##7A249F1.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)
#004BA2
Deuteranopia (green-blind)
#15519C
Tritanopia (blue-blind)
#764161
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a249f;
/* rgb */ color: rgb(122, 36, 159);
/* oklch */ color: oklch(45.4% 0.191 313.2);
Tailwind
colors: {
  custom: {
    50: '#a569bc',
    500: '#7a249f',
    950: '#000000',
  },
}
SCSS
$custom: #7a249f;
$custom-light: #a569bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a249f",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 281.951,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45383,
    "c": 0.19083,
    "h": 313.2
  },
  "luminance": 0.07903
}

Semantic roles & 50–950 ramp

primary
#7A249F
secondary
#7CC15E
accent
#E64273
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A249F

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

Preview Lab → · Contrast checker → · Palette generator →

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