#7A2396#7A2396

#7A2396 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.184 H 316.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7A2396
RGBrgb(122, 35, 150)
HSLhsl(285, 62%, 36%)
HSVhsv(285, 77%, 59%)
CMYKcmyk(18.7%, 76.7%, 0%, 41.2%)
CIE-LABlab(33.01, 53.63, -45.00)
CIE-LCHlch(33.01, 70.01, 320.00°)
OKLaboklab(44.64% 0.1329 -0.1268)
OKLCHoklch(44.64% 0.184 316.3)
XYZxyz(14.1312, 7.5422, 29.5597)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2396 #3F9623
analogous
#412396 #7A2396 #962379
triadic
#7A2396 #967A23 #23967A
tetradic
#7A2396 #964123 #3F9623 #237996
square
#7A2396 #964123 #3F9623 #237996
split-complementary
#7A2396 #799623 #239641
monochromatic
#290C33 #521764 #7A2396 #A22FC8 #BA5BD9

Accessibility & contrast

On white

8.37
#7A2396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7A2396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2396
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2396#FFFFFF#000000##FFFFFF
##7A23961.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#235093
Tritanopia (blue-blind)
#783C5B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a2396;
/* rgb */ color: rgb(122, 35, 150);
/* oklch */ color: oklch(44.6% 0.184 316.3);
Tailwind
colors: {
  custom: {
    50: '#a468b5',
    500: '#7a2396',
    950: '#000000',
  },
}
SCSS
$custom: #7a2396;
$custom-light: #a468b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2396",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 285.391,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44636,
    "c": 0.18364,
    "h": 316.3
  },
  "luminance": 0.07542
}

Semantic roles & 50–950 ramp

primary
#7A2396
secondary
#70BD58
accent
#E5436A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2396

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

Preview Lab → · Contrast checker → · Palette generator →

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