#7A239A#7A239A

#7A239A is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.187 H 314.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7A239A
RGBrgb(122, 35, 154)
HSLhsl(284, 63%, 37%)
HSVhsv(284, 77%, 60%)
CMYKcmyk(20.8%, 77.3%, 0%, 39.6%)
CIE-LABlab(33.29, 54.44, -46.99)
CIE-LCHlch(33.29, 71.91, 319.20°)
OKLaboklab(44.93% 0.1323 -0.1326)
OKLCHoklch(44.93% 0.187 314.9)
XYZxyz(14.4588, 7.6733, 31.2850)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A239A #439A23
analogous
#3F239A #7A239A #9A237E
triadic
#7A239A #9A7A23 #239A7A
tetradic
#7A239A #9A3F23 #439A23 #237E9A
square
#7A239A #9A3F23 #439A23 #237E9A
split-complementary
#7A239A #7E9A23 #239A3F
monochromatic
#2B0C36 #521868 #7A239A #A22ECC #B95DDA

Accessibility & contrast

On white

8.29
#7A239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7A239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A239A
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A239A#FFFFFF#000000##FFFFFF
##7A239A1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#1D5097
Tritanopia (blue-blind)
#773E5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a239a;
/* rgb */ color: rgb(122, 35, 154);
/* oklch */ color: oklch(44.9% 0.187 314.9);
Tailwind
colors: {
  custom: {
    50: '#a568b8',
    500: '#7a239a',
    950: '#000000',
  },
}
SCSS
$custom: #7a239a;
$custom-light: #a568b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a239a",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 283.866,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44925,
    "c": 0.18729,
    "h": 314.9
  },
  "luminance": 0.07673
}

Semantic roles & 50–950 ramp

primary
#7A239A
secondary
#75BF5A
accent
#E6426E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A239A

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

Preview Lab → · Contrast checker → · Palette generator →

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