#7A2293#7A2293

#7A2293 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.182 H 317.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7A2293
RGBrgb(122, 34, 147)
HSLhsl(287, 62%, 35%)
HSVhsv(287, 77%, 58%)
CMYKcmyk(17%, 76.9%, 0%, 42.4%)
CIE-LABlab(32.68, 53.39, -43.70)
CIE-LCHlch(32.68, 68.99, 320.70°)
OKLaboklab(44.33% 0.1342 -0.1229)
OKLCHoklch(44.33% 0.182 317.5)
XYZxyz(13.8638, 7.3888, 28.2940)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2293 #3B9322
analogous
#422293 #7A2293 #932273
triadic
#7A2293 #937A22 #22937A
tetradic
#7A2293 #934222 #3B9322 #227393
square
#7A2293 #934222 #3B9322 #227393
split-complementary
#7A2293 #739322 #229342
monochromatic
#270B30 #511761 #7A2293 #A32DC5 #BC57D8

Accessibility & contrast

On white

8.48
#7A2293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2293
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2293#FFFFFF#000000##FFFFFF
##7A22931.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#254F91
Tritanopia (blue-blind)
#793A59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2293;
/* rgb */ color: rgb(122, 34, 147);
/* oklch */ color: oklch(44.3% 0.182 317.5);
Tailwind
colors: {
  custom: {
    50: '#a467b3',
    500: '#7a2293',
    950: '#000000',
  },
}
SCSS
$custom: #7a2293;
$custom-light: #a467b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2293",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 286.726,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44333,
    "c": 0.18201,
    "h": 317.5
  },
  "luminance": 0.07388
}

Semantic roles & 50–950 ramp

primary
#7A2293
secondary
#6CBC55
accent
#E54266
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2293

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

Preview Lab → · Contrast checker → · Palette generator →

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