#7D268A#7D268A

#7D268A is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.171 H 322.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7D268A
RGBrgb(125, 38, 138)
HSLhsl(292, 57%, 35%)
HSVhsv(292, 72%, 54%)
CMYKcmyk(9.4%, 72.5%, 0%, 45.9%)
CIE-LABlab(33.10, 50.77, -37.46)
CIE-LCHlch(33.10, 63.10, 323.58°)
OKLaboklab(44.54% 0.1348 -0.1046)
OKLCHoklch(44.54% 0.171 322.2)
XYZxyz(13.7375, 7.5819, 24.7797)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D268A #338A26
analogous
#4B268A #7D268A #8A2665
triadic
#7D268A #8A7D26 #268A7D
tetradic
#7D268A #8A4B26 #338A26 #26658A
square
#7D268A #8A4B26 #338A26 #26658A
split-complementary
#7D268A #658A26 #268A4B
monochromatic
#260C2A #52195A #7D268A #A833BA #C259D1

Accessibility & contrast

On white

8.35
#7D268A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7D268A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D268A
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D268A#FFFFFF#000000##FFFFFF
##7D268A1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488D
Deuteranopia (green-blind)
#345188
Tritanopia (blue-blind)
#7F3855
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d268a;
/* rgb */ color: rgb(125, 38, 138);
/* oklch */ color: oklch(44.5% 0.171 322.2);
Tailwind
colors: {
  custom: {
    50: '#a669ad',
    500: '#7d268a',
    950: '#000000',
  },
}
SCSS
$custom: #7d268a;
$custom-light: #a669ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7d268a",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 292.2,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4454,
    "c": 0.17059,
    "h": 322.2
  },
  "luminance": 0.07581
}

Semantic roles & 50–950 ramp

primary
#7D268A
secondary
#62B656
accent
#E0485C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D268A

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

Preview Lab → · Contrast checker → · Palette generator →

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