#7D23A9#7D23A9

#7D23A9 is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.5% C 0.202 H 311.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7D23A9
RGBrgb(125, 35, 169)
HSLhsl(280, 66%, 40%)
HSVhsv(280, 79%, 66%)
CMYKcmyk(26%, 79.3%, 0%, 33.7%)
CIE-LABlab(34.86, 58.12, -53.50)
CIE-LCHlch(34.86, 78.99, 317.37°)
OKLaboklab(46.47% 0.1334 -0.1516)
OKLCHoklch(46.47% 0.202 311.3)
XYZxyz(16.2185, 8.4270, 38.3006)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D23A9 #4FA923
analogous
#3A23A9 #7D23A9 #A92392
triadic
#7D23A9 #A97D23 #23A97D
tetradic
#7D23A9 #A93A23 #4FA923 #2392A9
square
#7D23A9 #A93A23 #4FA923 #2392A9
split-complementary
#7D23A9 #92A923 #23A93A
monochromatic
#320E44 #581976 #7D23A9 #A034D5 #B867DF

Accessibility & contrast

On white

7.82
#7D23A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D23A9
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D23A9#FFFFFF#000000##FFFFFF
##7D23A91.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#774466
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d23a9;
/* rgb */ color: rgb(125, 35, 169);
/* oklch */ color: oklch(46.5% 0.202 311.3);
Tailwind
colors: {
  custom: {
    50: '#a769c3',
    500: '#7d23a9',
    950: '#000000',
  },
}
SCSS
$custom: #7d23a9;
$custom-light: #a769c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d23a9",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 280.299,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.46467,
    "c": 0.20196,
    "h": 311.3
  },
  "luminance": 0.08427
}

Semantic roles & 50–950 ramp

primary
#7D23A9
secondary
#83C563
accent
#E93F77
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D23A9

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

Preview Lab → · Contrast checker → · Palette generator →

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