#7D23A3#7D23A3

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

Color values

HEX#7D23A3
RGBrgb(125, 35, 163)
HSLhsl(282, 65%, 39%)
HSVhsv(282, 79%, 64%)
CMYKcmyk(23.3%, 78.5%, 0%, 36.1%)
CIE-LABlab(34.41, 56.87, -50.61)
CIE-LCHlch(34.41, 76.13, 318.33°)
OKLaboklab(46.01% 0.1346 -0.1431)
OKLCHoklch(46.01% 0.197 313.2)
XYZxyz(15.6682, 8.2069, 35.4020)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D23A3 #49A323
analogous
#3D23A3 #7D23A3 #A32389
triadic
#7D23A3 #A37D23 #23A37D
tetradic
#7D23A3 #A33D23 #49A323 #2389A3
square
#7D23A3 #A33D23 #49A323 #2389A3
split-complementary
#7D23A3 #89A323 #23A33D
monochromatic
#300D3E #561871 #7D23A3 #A331D3 #B963DD

Accessibility & contrast

On white

7.95
#7D23A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7D23A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D23A3
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D23A3#FFFFFF#000000##FFFFFF
##7D23A31.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#1353A0
Tritanopia (blue-blind)
#794163
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d23a3;
/* rgb */ color: rgb(125, 35, 163);
/* oklch */ color: oklch(46.0% 0.197 313.2);
Tailwind
colors: {
  custom: {
    50: '#a769bf',
    500: '#7d23a3',
    950: '#000000',
  },
}
SCSS
$custom: #7d23a3;
$custom-light: #a769bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d23a3",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 282.188,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46013,
    "c": 0.1965,
    "h": 313.2
  },
  "luminance": 0.08206
}

Semantic roles & 50–950 ramp

primary
#7D23A3
secondary
#7DC35F
accent
#E84072
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D23A3

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

Preview Lab → · Contrast checker → · Palette generator →

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