#7A247D#7A247D

#7A247D is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.160 H 326.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7A247D
RGBrgb(122, 36, 125)
HSLhsl(298, 55%, 32%)
HSVhsv(298, 71%, 49%)
CMYKcmyk(2.4%, 71.2%, 0%, 51%)
CIE-LABlab(31.53, 48.42, -31.88)
CIE-LCHlch(31.53, 57.97, 326.64°)
OKLaboklab(43.07% 0.1335 -0.0884)
OKLCHoklch(43.07% 0.16 326.5)
XYZxyz(12.3584, 6.8808, 20.0753)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A247D #277D24
analogous
#4E247D #7A247D #7D2454
triadic
#7A247D #7D7A24 #247D7A
tetradic
#7A247D #7D4E24 #277D24 #24547D
square
#7A247D #7D4E24 #277D24 #24547D
split-complementary
#7A247D #547D24 #247D4E
monochromatic
#1D091E #4C164D #7A247D #A832AD #C84FCC

Accessibility & contrast

On white

8.84
#7A247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7A247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A247D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A247D#FFFFFF#000000##FFFFFF
##7A247D1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124380
Deuteranopia (green-blind)
#384E7B
Tritanopia (blue-blind)
#7D324E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a247d;
/* rgb */ color: rgb(122, 36, 125);
/* oklch */ color: oklch(43.1% 0.160 326.5);
Tailwind
colors: {
  custom: {
    50: '#a367a3',
    500: '#7a247d',
    950: '#000000',
  },
}
SCSS
$custom: #7a247d;
$custom-light: #a367a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a247d",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 297.978,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43068,
    "c": 0.16016,
    "h": 326.5
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#7A247D
secondary
#51AF4D
accent
#DF494E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #7A247D

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

Preview Lab → · Contrast checker → · Palette generator →

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