#7D268D#7D268D

#7D268D is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.7% C 0.173 H 321.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7D268D
RGBrgb(125, 38, 141)
HSLhsl(291, 58%, 35%)
HSVhsv(291, 73%, 55%)
CMYKcmyk(11.3%, 73%, 0%, 44.7%)
CIE-LABlab(33.29, 51.35, -39.01)
CIE-LCHlch(33.29, 64.49, 322.78°)
OKLaboklab(44.74% 0.1346 -0.1091)
OKLCHoklch(44.74% 0.173 321)
XYZxyz(13.9577, 7.6700, 25.9394)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D268D #368D26
analogous
#4A268D #7D268D #8D2669
triadic
#7D268D #8D7D26 #268D7D
tetradic
#7D268D #8D4A26 #368D26 #26698D
square
#7D268D #8D4A26 #368D26 #26698D
split-complementary
#7D268D #698D26 #268D4A
monochromatic
#280C2D #52195D #7D268D #A833BD #C05BD3

Accessibility & contrast

On white

8.29
#7D268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7D268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D268D
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D268D#FFFFFF#000000##FFFFFF
##7D268D1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#31518B
Tritanopia (blue-blind)
#7E3957
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d268d;
/* rgb */ color: rgb(125, 38, 141);
/* oklch */ color: oklch(44.7% 0.173 321.0);
Tailwind
colors: {
  custom: {
    50: '#a669af',
    500: '#7d268d',
    950: '#000000',
  },
}
SCSS
$custom: #7d268d;
$custom-light: #a669af;
$custom-dark: #000000;
JSON
{
  "hex": "#7d268d",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 290.68,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44736,
    "c": 0.17328,
    "h": 321
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

primary
#7D268D
secondary
#66B857
accent
#E1475F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D268D

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

Preview Lab → · Contrast checker → · Palette generator →

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