#7D23A0#7D23A0

#7D23A0 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.194 H 314.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7D23A0
RGBrgb(125, 35, 160)
HSLhsl(283, 64%, 38%)
HSVhsv(283, 78%, 63%)
CMYKcmyk(21.9%, 78.1%, 0%, 37.3%)
CIE-LABlab(34.19, 56.25, -49.15)
CIE-LCHlch(34.19, 74.70, 318.85°)
OKLaboklab(45.79% 0.1352 -0.1389)
OKLCHoklch(45.79% 0.194 314.2)
XYZxyz(15.4026, 8.1006, 34.0031)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D23A0 #46A023
analogous
#3E23A0 #7D23A0 #A02384
triadic
#7D23A0 #A07D23 #23A07D
tetradic
#7D23A0 #A03E23 #46A023 #2384A0
square
#7D23A0 #A03E23 #46A023 #2384A0
split-complementary
#7D23A0 #84A023 #23A03E
monochromatic
#2F0D3C #56186E #7D23A0 #A42FD1 #BA61DC

Accessibility & contrast

On white

8.02
#7D23A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7D23A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D23A0
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D23A0#FFFFFF#000000##FFFFFF
##7D23A01.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#19529D
Tritanopia (blue-blind)
#7A4061
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d23a0;
/* rgb */ color: rgb(125, 35, 160);
/* oklch */ color: oklch(45.8% 0.194 314.2);
Tailwind
colors: {
  custom: {
    50: '#a769bd',
    500: '#7d23a0',
    950: '#000000',
  },
}
SCSS
$custom: #7d23a0;
$custom-light: #a769bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d23a0",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 283.2,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4579,
    "c": 0.19379,
    "h": 314.2
  },
  "luminance": 0.081
}

Semantic roles & 50–950 ramp

primary
#7D23A0
secondary
#79C15D
accent
#E7416F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D23A0

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

Preview Lab → · Contrast checker → · Palette generator →

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