#7D267E#7D267E

#7D267E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.160 H 327.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7D267E
RGBrgb(125, 38, 126)
HSLhsl(299, 54%, 32%)
HSVhsv(299, 70%, 49%)
CMYKcmyk(0.8%, 69.8%, 0%, 50.6%)
CIE-LABlab(32.38, 48.54, -31.14)
CIE-LCHlch(32.38, 57.67, 327.32°)
OKLaboklab(43.79% 0.1349 -0.0862)
OKLCHoklch(43.79% 0.16 327.4)
XYZxyz(12.9163, 7.2534, 20.4544)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D267E #277E26
analogous
#51267E #7D267E #7E2653
triadic
#7D267E #7E7D26 #267E7D
tetradic
#7D267E #7E5126 #277E26 #26537E
square
#7D267E #7E5126 #277E26 #26537E
split-complementary
#7D267E #537E26 #267E51
monochromatic
#200A20 #4E184F #7D267E #AC34AD #CA53CB

Accessibility & contrast

On white

8.57
#7D267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D267E
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D267E#FFFFFF#000000##FFFFFF
##7D267E1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184581
Deuteranopia (green-blind)
#3B507C
Tritanopia (blue-blind)
#81334F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d267e;
/* rgb */ color: rgb(125, 38, 126);
/* oklch */ color: oklch(43.8% 0.160 327.4);
Tailwind
colors: {
  custom: {
    50: '#a669a4',
    500: '#7d267e',
    950: '#000000',
  },
}
SCSS
$custom: #7d267e;
$custom-light: #a669a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d267e",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 299.318,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43792,
    "c": 0.16006,
    "h": 327.4
  },
  "luminance": 0.07253
}

Semantic roles & 50–950 ramp

primary
#7D267E
secondary
#51B050
accent
#DD4B4C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D267E

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

Preview Lab → · Contrast checker → · Palette generator →

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