#7D23AA#7D23AA

#7D23AA is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.5% C 0.203 H 311.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7D23AA
RGBrgb(125, 35, 170)
HSLhsl(280, 66%, 40%)
HSVhsv(280, 79%, 67%)
CMYKcmyk(26.5%, 79.4%, 0%, 33.3%)
CIE-LABlab(34.93, 58.33, -53.97)
CIE-LCHlch(34.93, 79.47, 317.22°)
OKLaboklab(46.54% 0.1332 -0.153)
OKLCHoklch(46.54% 0.203 311)
XYZxyz(16.3128, 8.4647, 38.7969)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D23AA #50AA23
analogous
#3923AA #7D23AA #AA2393
triadic
#7D23AA #AA7D23 #23AA7D
tetradic
#7D23AA #AA3923 #50AA23 #2393AA
square
#7D23AA #AA3923 #50AA23 #2393AA
split-complementary
#7D23AA #93AA23 #23AA39
monochromatic
#320E44 #581977 #7D23AA #A035D5 #B868E0

Accessibility & contrast

On white

7.80
#7D23AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7D23AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D23AA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D23AA#FFFFFF#000000##FFFFFF
##7D23AA1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#774567
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d23aa;
/* rgb */ color: rgb(125, 35, 170);
/* oklch */ color: oklch(46.5% 0.203 311.0);
Tailwind
colors: {
  custom: {
    50: '#a869c4',
    500: '#7d23aa',
    950: '#000000',
  },
}
SCSS
$custom: #7d23aa;
$custom-light: #a869c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d23aa",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 280,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46544,
    "c": 0.20287,
    "h": 311
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#7D23AA
secondary
#84C663
accent
#E93F78
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D23AA

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

Preview Lab → · Contrast checker → · Palette generator →

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