#7D258A#7D258A

#7D258A is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.172 H 322.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7D258A
RGBrgb(125, 37, 138)
HSLhsl(292, 58%, 34%)
HSVhsv(292, 73%, 54%)
CMYKcmyk(9.4%, 73.2%, 0%, 45.9%)
CIE-LABlab(32.96, 51.16, -37.68)
CIE-LCHlch(32.96, 63.54, 323.63°)
OKLaboklab(44.44% 0.1358 -0.1052)
OKLCHoklch(44.44% 0.172 322.2)
XYZxyz(13.7060, 7.5189, 24.7692)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D258A #328A25
analogous
#4B258A #7D258A #8A2565
triadic
#7D258A #8A7D25 #258A7D
tetradic
#7D258A #8A4B25 #328A25 #25658A
square
#7D258A #8A4B25 #328A25 #25658A
split-complementary
#7D258A #658A25 #258A4B
monochromatic
#260B29 #51185A #7D258A #A932BA #C257D2

Accessibility & contrast

On white

8.39
#7D258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7D258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D258A
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D258A#FFFFFF#000000##FFFFFF
##7D258A1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#335188
Tritanopia (blue-blind)
#7F3755
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d258a;
/* rgb */ color: rgb(125, 37, 138);
/* oklch */ color: oklch(44.4% 0.172 322.2);
Tailwind
colors: {
  custom: {
    50: '#a669ad',
    500: '#7d258a',
    950: '#000000',
  },
}
SCSS
$custom: #7d258a;
$custom-light: #a669ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7d258a",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 292.277,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44443,
    "c": 0.17181,
    "h": 322.2
  },
  "luminance": 0.07518
}

Semantic roles & 50–950 ramp

primary
#7D258A
secondary
#61B754
accent
#E1475B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D258A

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

Preview Lab → · Contrast checker → · Palette generator →

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