#7A23A7#7A23A7

#7A23A7 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.9% C 0.199 H 310.7°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7A23A7
RGBrgb(122, 35, 167)
HSLhsl(280, 65%, 40%)
HSVhsv(280, 79%, 65%)
CMYKcmyk(26.9%, 79%, 0%, 34.5%)
CIE-LABlab(34.25, 57.16, -53.30)
CIE-LCHlch(34.25, 78.15, 317.00°)
OKLaboklab(45.9% 0.1298 -0.1511)
OKLCHoklch(45.9% 0.199 310.7)
XYZxyz(15.6008, 8.1300, 37.2992)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A23A7 #50A723
analogous
#3823A7 #7A23A7 #A72392
triadic
#7A23A7 #A77A23 #23A77A
tetradic
#7A23A7 #A73823 #50A723 #2392A7
square
#7A23A7 #A73823 #50A723 #2392A7
split-complementary
#7A23A7 #92A723 #23A738
monochromatic
#300E42 #551874 #7A23A7 #9D33D4 #B566DF

Accessibility & contrast

On white

8.00
#7A23A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7A23A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A23A7
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A23A7#FFFFFF#000000##FFFFFF
##7A23A71.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#744465
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a23a7;
/* rgb */ color: rgb(122, 35, 167);
/* oklch */ color: oklch(45.9% 0.199 310.7);
Tailwind
colors: {
  custom: {
    50: '#a569c2',
    500: '#7a23a7',
    950: '#000000',
  },
}
SCSS
$custom: #7a23a7;
$custom-light: #a569c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a23a7",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 279.545,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45903,
    "c": 0.19923,
    "h": 310.7
  },
  "luminance": 0.0813
}

Semantic roles & 50–950 ramp

primary
#7A23A7
secondary
#83C461
accent
#E83F79
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A23A7

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

Preview Lab → · Contrast checker → · Palette generator →

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