#7D23AD#7D23AD

#7D23AD is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.206 H 310.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#7D23AD
RGBrgb(125, 35, 173)
HSLhsl(279, 66%, 41%)
HSVhsv(279, 80%, 68%)
CMYKcmyk(27.7%, 79.8%, 0%, 32.2%)
CIE-LABlab(35.16, 58.96, -55.40)
CIE-LCHlch(35.16, 80.90, 316.78°)
OKLaboklab(46.78% 0.1325 -0.1572)
OKLCHoklch(46.78% 0.206 310.1)
XYZxyz(16.5998, 8.5795, 40.3086)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D23AD #53AD23
analogous
#3823AD #7D23AD #AD2398
triadic
#7D23AD #AD7D23 #23AD7D
tetradic
#7D23AD #AD3823 #53AD23 #2398AD
square
#7D23AD #AD3823 #53AD23 #2398AD
split-complementary
#7D23AD #98AD23 #23AD38
monochromatic
#330E47 #58197A #7D23AD #9F37D6 #B76AE1

Accessibility & contrast

On white

7.73
#7D23AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7D23AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D23AD
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D23AD#FFFFFF#000000##FFFFFF
##7D23AD1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#764668
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d23ad;
/* rgb */ color: rgb(125, 35, 173);
/* oklch */ color: oklch(46.8% 0.206 310.1);
Tailwind
colors: {
  custom: {
    50: '#a869c6',
    500: '#7d23ad',
    950: '#000000',
  },
}
SCSS
$custom: #7d23ad;
$custom-light: #a869c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d23ad",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 173
  },
  "hsl": {
    "h": 279.13,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46777,
    "c": 0.20561,
    "h": 310.1
  },
  "luminance": 0.08579
}

Semantic roles & 50–950 ramp

primary
#7D23AD
secondary
#87C765
accent
#E93F7A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D23AD

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

Preview Lab → · Contrast checker → · Palette generator →

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