#7A249E#7A249E

#7A249E is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.190 H 313.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7A249E
RGBrgb(122, 36, 158)
HSLhsl(282, 63%, 38%)
HSVhsv(282, 77%, 62%)
CMYKcmyk(22.8%, 77.2%, 0%, 38%)
CIE-LABlab(33.71, 54.91, -48.75)
CIE-LCHlch(33.71, 73.42, 318.40°)
OKLaboklab(45.31% 0.1307 -0.1378)
OKLCHoklch(45.31% 0.19 313.5)
XYZxyz(14.8274, 7.8684, 33.0788)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A249E #489E24
analogous
#3D249E #7A249E #9E2485
triadic
#7A249E #9E7A24 #249E7A
tetradic
#7A249E #9E3D24 #489E24 #24859E
square
#7A249E #9E3D24 #489E24 #24859E
split-complementary
#7A249E #859E24 #249E3D
monochromatic
#2D0D3A #54196C #7A249E #A02FD0 #B761DB

Accessibility & contrast

On white

8.16
#7A249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A249E
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A249E#FFFFFF#000000##FFFFFF
##7A249E1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#17519B
Tritanopia (blue-blind)
#764060
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a249e;
/* rgb */ color: rgb(122, 36, 158);
/* oklch */ color: oklch(45.3% 0.190 313.5);
Tailwind
colors: {
  custom: {
    50: '#a569bb',
    500: '#7a249e',
    950: '#000000',
  },
}
SCSS
$custom: #7a249e;
$custom-light: #a569bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a249e",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 282.295,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45309,
    "c": 0.1899,
    "h": 313.5
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#7A249E
secondary
#7BC05E
accent
#E64272
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A249E

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

Preview Lab → · Contrast checker → · Palette generator →

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