#7A246D#7A246D

#7A246D is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.1% C 0.147 H 334.5°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#7A246D
RGBrgb(122, 36, 109)
HSLhsl(309, 54%, 31%)
HSVhsv(309, 70%, 48%)
CMYKcmyk(0%, 70.5%, 10.7%, 52.2%)
CIE-LABlab(30.65, 45.62, -23.13)
CIE-LCHlch(30.65, 51.15, 333.11°)
OKLaboklab(42.14% 0.1326 -0.0632)
OKLCHoklch(42.14% 0.147 334.5)
XYZxyz(11.4173, 6.5044, 15.1192)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A246D #247A31
analogous
#5C247A #7A246D #7A2442
triadic
#7A246D #6D7A24 #246D7A
tetradic
#7A246D #7A5C24 #247A31 #24427A
square
#7A246D #7A5C24 #247A31 #24427A
split-complementary
#7A246D #427A24 #247A5C
monochromatic
#1B0819 #4B1643 #7A246D #A93297 #CB4EB8

Accessibility & contrast

On white

9.13
#7A246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7A246D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A246D
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A246D#FFFFFF#000000##FFFFFF
##7A246D1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23406F
Deuteranopia (green-blind)
#404D6B
Tritanopia (blue-blind)
#802B45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a246d;
/* rgb */ color: rgb(122, 36, 109);
/* oklch */ color: oklch(42.1% 0.147 334.5);
Tailwind
colors: {
  custom: {
    50: '#a36797',
    500: '#7a246d',
    950: '#000000',
  },
}
SCSS
$custom: #7a246d;
$custom-light: #a36797;
$custom-dark: #000000;
JSON
{
  "hex": "#7a246d",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 309.07,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42144,
    "c": 0.14684,
    "h": 334.5
  },
  "luminance": 0.06503
}

Semantic roles & 50–950 ramp

primary
#7A246D
secondary
#4DAC5C
accent
#DE604A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #7A246D

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

Preview Lab → · Contrast checker → · Palette generator →

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