#7D267D#7D267D

#7D267D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.159 H 327.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#7D267D
RGBrgb(125, 38, 125)
HSLhsl(300, 53%, 32%)
HSVhsv(300, 70%, 49%)
CMYKcmyk(0%, 69.6%, 0%, 51%)
CIE-LABlab(32.32, 48.36, -30.60)
CIE-LCHlch(32.32, 57.23, 327.68°)
OKLaboklab(43.73% 0.1348 -0.0846)
OKLCHoklch(43.73% 0.159 327.9)
XYZxyz(12.8521, 7.2278, 20.1162)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D267D #267D26
analogous
#52267D #7D267D #7D2652
triadic
#7D267D #7D7D26 #267D7D
tetradic
#7D267D #7D5226 #267D26 #26527D
square
#7D267D #7D5226 #267D26 #26527D
split-complementary
#7D267D #527D26 #267D52
monochromatic
#1F091F #4E184E #7D267D #AC34AC #CB53CB

Accessibility & contrast

On white

8.59
#7D267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7D267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D267D
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D267D#FFFFFF#000000##FFFFFF
##7D267D1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19457F
Deuteranopia (green-blind)
#3C507B
Tritanopia (blue-blind)
#81324E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d267d;
/* rgb */ color: rgb(125, 38, 125);
/* oklch */ color: oklch(43.7% 0.159 327.9);
Tailwind
colors: {
  custom: {
    50: '#a668a3',
    500: '#7d267d',
    950: '#000000',
  },
}
SCSS
$custom: #7d267d;
$custom-light: #a668a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d267d",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 300,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43732,
    "c": 0.15919,
    "h": 327.9
  },
  "luminance": 0.07227
}

Semantic roles & 50–950 ramp

primary
#7D267D
secondary
#50AF50
accent
#DD4B4B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D267D

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

Preview Lab → · Contrast checker → · Palette generator →

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