#7A247E#7A247E

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

Color values

HEX#7A247E
RGBrgb(122, 36, 126)
HSLhsl(297, 56%, 32%)
HSVhsv(297, 71%, 49%)
CMYKcmyk(3.2%, 71.4%, 0%, 50.6%)
CIE-LABlab(31.59, 48.60, -32.41)
CIE-LCHlch(31.59, 58.42, 326.30°)
OKLaboklab(43.13% 0.1336 -0.09)
OKLCHoklch(43.13% 0.161 326)
XYZxyz(12.4226, 6.9065, 20.4134)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A247E #287E24
analogous
#4D247E #7A247E #7E2455
triadic
#7A247E #7E7A24 #247E7A
tetradic
#7A247E #7E4D24 #287E24 #24557E
square
#7A247E #7E4D24 #287E24 #24557E
split-complementary
#7A247E #557E24 #247E4D
monochromatic
#1E091F #4C164E #7A247E #A832AE #C750CD

Accessibility & contrast

On white

8.82
#7A247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A247E
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A247E#FFFFFF#000000##FFFFFF
##7A247E1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a247e;
/* rgb */ color: rgb(122, 36, 126);
/* oklch */ color: oklch(43.1% 0.161 326.0);
Tailwind
colors: {
  custom: {
    50: '#a367a4',
    500: '#7a247e',
    950: '#000000',
  },
}
SCSS
$custom: #7a247e;
$custom-light: #a367a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a247e",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 297.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43129,
    "c": 0.16103,
    "h": 326
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

primary
#7A247E
secondary
#52B04E
accent
#DF4950
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #7A247E

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

Preview Lab → · Contrast checker → · Palette generator →

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