#7D266F#7D266F

#7D266F is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.148 H 334.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7D266F
RGBrgb(125, 38, 111)
HSLhsl(310, 53%, 32%)
HSVhsv(310, 70%, 49%)
CMYKcmyk(0%, 69.6%, 11.2%, 51%)
CIE-LABlab(31.57, 45.94, -22.94)
CIE-LCHlch(31.57, 51.35, 333.47°)
OKLaboklab(42.94% 0.1337 -0.0626)
OKLCHoklch(42.94% 0.148 334.9)
XYZxyz(12.0199, 6.8949, 15.7336)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D266F #267D34
analogous
#60267D #7D266F #7D2644
triadic
#7D266F #6F7D26 #266F7D
tetradic
#7D266F #7D6026 #267D34 #26447D
square
#7D266F #7D6026 #267D34 #26447D
split-complementary
#7D266F #447D26 #267D60
monochromatic
#1F091C #4E1845 #7D266F #AC3499 #CB53B7

Accessibility & contrast

On white

8.83
#7D266F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7D266F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D266F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D266F#FFFFFF#000000##FFFFFF
##7D266F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264271
Deuteranopia (green-blind)
#434F6D
Tritanopia (blue-blind)
#832C47
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d266f;
/* rgb */ color: rgb(125, 38, 111);
/* oklch */ color: oklch(42.9% 0.148 334.9);
Tailwind
colors: {
  custom: {
    50: '#a66898',
    500: '#7d266f',
    950: '#000000',
  },
}
SCSS
$custom: #7d266f;
$custom-light: #a66898;
$custom-dark: #000000;
JSON
{
  "hex": "#7d266f",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 309.655,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42943,
    "c": 0.14763,
    "h": 334.9
  },
  "luminance": 0.06894
}

Semantic roles & 50–950 ramp

primary
#7D266F
secondary
#50AF5F
accent
#DD624B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D266F

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

Preview Lab → · Contrast checker → · Palette generator →

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