#7D23A4#7D23A4

#7D23A4 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.1% C 0.197 H 312.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7D23A4
RGBrgb(125, 35, 164)
HSLhsl(282, 65%, 39%)
HSVhsv(282, 79%, 64%)
CMYKcmyk(23.8%, 78.7%, 0%, 35.7%)
CIE-LABlab(34.48, 57.08, -51.10)
CIE-LCHlch(34.48, 76.61, 318.16°)
OKLaboklab(46.09% 0.1344 -0.1446)
OKLCHoklch(46.09% 0.197 312.9)
XYZxyz(15.7581, 8.2429, 35.8757)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D23A4 #4AA423
analogous
#3C23A4 #7D23A4 #A4238B
triadic
#7D23A4 #A47D23 #23A47D
tetradic
#7D23A4 #A43C23 #4AA423 #238BA4
square
#7D23A4 #A43C23 #4AA423 #238BA4
split-complementary
#7D23A4 #8BA423 #23A43C
monochromatic
#300D3F #571872 #7D23A4 #A231D3 #B964DE

Accessibility & contrast

On white

7.93
#7D23A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7D23A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D23A4
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D23A4#FFFFFF#000000##FFFFFF
##7D23A41.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#1053A1
Tritanopia (blue-blind)
#794263
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d23a4;
/* rgb */ color: rgb(125, 35, 164);
/* oklch */ color: oklch(46.1% 0.197 312.9);
Tailwind
colors: {
  custom: {
    50: '#a769c0',
    500: '#7d23a4',
    950: '#000000',
  },
}
SCSS
$custom: #7d23a4;
$custom-light: #a769c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d23a4",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 281.86,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46088,
    "c": 0.19741,
    "h": 312.9
  },
  "luminance": 0.08242
}

Semantic roles & 50–950 ramp

primary
#7D23A4
secondary
#7EC360
accent
#E84073
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D23A4

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

Preview Lab → · Contrast checker → · Palette generator →

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