#7D23AC#7D23AC

#7D23AC is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.7% C 0.205 H 310.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7D23AC
RGBrgb(125, 35, 172)
HSLhsl(279, 66%, 41%)
HSVhsv(279, 80%, 67%)
CMYKcmyk(27.3%, 79.7%, 0%, 32.5%)
CIE-LABlab(35.09, 58.75, -54.92)
CIE-LCHlch(35.09, 80.42, 316.93°)
OKLaboklab(46.7% 0.1328 -0.1558)
OKLCHoklch(46.7% 0.205 310.4)
XYZxyz(16.5034, 8.5410, 39.8009)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D23AC #52AC23
analogous
#3823AC #7D23AC #AC2396
triadic
#7D23AC #AC7D23 #23AC7D
tetradic
#7D23AC #AC3823 #52AC23 #2396AC
square
#7D23AC #AC3823 #52AC23 #2396AC
split-complementary
#7D23AC #96AC23 #23AC38
monochromatic
#330E46 #581979 #7D23AC #9F36D6 #B769E0

Accessibility & contrast

On white

7.75
#7D23AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7D23AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D23AC
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D23AC#FFFFFF#000000##FFFFFF
##7D23AC1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#764668
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d23ac;
/* rgb */ color: rgb(125, 35, 172);
/* oklch */ color: oklch(46.7% 0.205 310.4);
Tailwind
colors: {
  custom: {
    50: '#a869c6',
    500: '#7d23ac',
    950: '#000000',
  },
}
SCSS
$custom: #7d23ac;
$custom-light: #a869c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d23ac",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 279.416,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46699,
    "c": 0.20469,
    "h": 310.4
  },
  "luminance": 0.08541
}

Semantic roles & 50–950 ramp

primary
#7D23AC
secondary
#86C664
accent
#E93F79
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D23AC

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

Preview Lab → · Contrast checker → · Palette generator →

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