#7A23A3#7A23A3

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

Color values

HEX#7A23A3
RGBrgb(122, 35, 163)
HSLhsl(281, 65%, 39%)
HSVhsv(281, 79%, 64%)
CMYKcmyk(25.2%, 78.5%, 0%, 36.1%)
CIE-LABlab(33.95, 56.31, -51.38)
CIE-LCHlch(33.95, 76.23, 317.62°)
OKLaboklab(45.6% 0.1306 -0.1455)
OKLCHoklch(45.6% 0.196 311.9)
XYZxyz(15.2367, 7.9844, 35.3817)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A23A3 #4CA323
analogous
#3A23A3 #7A23A3 #A3238C
triadic
#7A23A3 #A37A23 #23A37A
tetradic
#7A23A3 #A33A23 #4CA323 #238CA3
square
#7A23A3 #A33A23 #4CA323 #238CA3
split-complementary
#7A23A3 #8CA323 #23A33A
monochromatic
#2F0D3E #541871 #7A23A3 #9F31D3 #B663DD

Accessibility & contrast

On white

8.09
#7A23A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A23A3
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A23A3#FFFFFF#000000##FFFFFF
##7A23A31.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0851A0
Tritanopia (blue-blind)
#754263
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a23a3;
/* rgb */ color: rgb(122, 35, 163);
/* oklch */ color: oklch(45.6% 0.196 311.9);
Tailwind
colors: {
  custom: {
    50: '#a568bf',
    500: '#7a23a3',
    950: '#000000',
  },
}
SCSS
$custom: #7a23a3;
$custom-light: #a568bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a23a3",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 280.781,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45596,
    "c": 0.19554,
    "h": 311.9
  },
  "luminance": 0.07984
}

Semantic roles & 50–950 ramp

primary
#7A23A3
secondary
#7FC35F
accent
#E84076
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A23A3

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

Preview Lab → · Contrast checker → · Palette generator →

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