#7A23A4#7A23A4

#7A23A4 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.196 H 311.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7A23A4
RGBrgb(122, 35, 164)
HSLhsl(280, 65%, 39%)
HSVhsv(280, 79%, 64%)
CMYKcmyk(25.6%, 78.7%, 0%, 35.7%)
CIE-LABlab(34.03, 56.52, -51.86)
CIE-LCHlch(34.03, 76.71, 317.46°)
OKLaboklab(45.67% 0.1304 -0.1469)
OKLCHoklch(45.67% 0.196 311.6)
XYZxyz(15.3266, 8.0204, 35.8555)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A23A4 #4DA423
analogous
#3A23A4 #7A23A4 #A4238E
triadic
#7A23A4 #A47A23 #23A47A
tetradic
#7A23A4 #A43A23 #4DA423 #238EA4
square
#7A23A4 #A43A23 #4DA423 #238EA4
split-complementary
#7A23A4 #8EA423 #23A43A
monochromatic
#2F0D3F #541872 #7A23A4 #9E31D3 #B664DE

Accessibility & contrast

On white

8.06
#7A23A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7A23A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A23A4
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A23A4#FFFFFF#000000##FFFFFF
##7A23A41.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0452A1
Tritanopia (blue-blind)
#754263
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a23a4;
/* rgb */ color: rgb(122, 35, 164);
/* oklch */ color: oklch(45.7% 0.196 311.6);
Tailwind
colors: {
  custom: {
    50: '#a568c0',
    500: '#7a23a4',
    950: '#000000',
  },
}
SCSS
$custom: #7a23a4;
$custom-light: #a568c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a23a4",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 280.465,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45672,
    "c": 0.19646,
    "h": 311.6
  },
  "luminance": 0.0802
}

Semantic roles & 50–950 ramp

primary
#7A23A4
secondary
#80C360
accent
#E84077
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A23A4

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

Preview Lab → · Contrast checker → · Palette generator →

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