#7A2294#7A2294

#7A2294 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.183 H 317.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7A2294
RGBrgb(122, 34, 148)
HSLhsl(286, 63%, 36%)
HSVhsv(286, 77%, 58%)
CMYKcmyk(17.6%, 77%, 0%, 42%)
CIE-LABlab(32.75, 53.59, -44.20)
CIE-LCHlch(32.75, 69.47, 320.48°)
OKLaboklab(44.4% 0.1341 -0.1244)
OKLCHoklch(44.4% 0.183 317.1)
XYZxyz(13.9426, 7.4204, 28.7091)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2294 #3C9422
analogous
#412294 #7A2294 #942275
triadic
#7A2294 #947A22 #22947A
tetradic
#7A2294 #944122 #3C9422 #227594
square
#7A2294 #944122 #3C9422 #227594
split-complementary
#7A2294 #759422 #229441
monochromatic
#280B30 #511762 #7A2294 #A32DC6 #BB58D9

Accessibility & contrast

On white

8.45
#7A2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7A2294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2294
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2294#FFFFFF#000000##FFFFFF
##7A22941.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#245092
Tritanopia (blue-blind)
#793B5A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2294;
/* rgb */ color: rgb(122, 34, 148);
/* oklch */ color: oklch(44.4% 0.183 317.1);
Tailwind
colors: {
  custom: {
    50: '#a467b4',
    500: '#7a2294',
    950: '#000000',
  },
}
SCSS
$custom: #7a2294;
$custom-light: #a467b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2294",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 286.316,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44404,
    "c": 0.18291,
    "h": 317.1
  },
  "luminance": 0.0742
}

Semantic roles & 50–950 ramp

primary
#7A2294
secondary
#6DBD55
accent
#E64267
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2294

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

Preview Lab → · Contrast checker → · Palette generator →

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