#7D258D#7D258D

#7D258D is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.174 H 321.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7D258D
RGBrgb(125, 37, 141)
HSLhsl(291, 58%, 35%)
HSVhsv(291, 74%, 55%)
CMYKcmyk(11.3%, 73.8%, 0%, 44.7%)
CIE-LABlab(33.15, 51.74, -39.22)
CIE-LCHlch(33.15, 64.93, 322.83°)
OKLaboklab(44.64% 0.1356 -0.1098)
OKLCHoklch(44.64% 0.174 321)
XYZxyz(13.9262, 7.6069, 25.9289)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D258D #358D25
analogous
#49258D #7D258D #8D2569
triadic
#7D258D #8D7D25 #258D7D
tetradic
#7D258D #8D4925 #358D25 #25698D
square
#7D258D #8D4925 #358D25 #25698D
split-complementary
#7D258D #698D25 #258D49
monochromatic
#270C2C #52185D #7D258D #A832BD #C159D3

Accessibility & contrast

On white

8.33
#7D258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D258D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D258D#FFFFFF#000000##FFFFFF
##7D258D1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.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: #7d258d;
/* rgb */ color: rgb(125, 37, 141);
/* oklch */ color: oklch(44.6% 0.174 321.0);
Tailwind
colors: {
  custom: {
    50: '#a669af',
    500: '#7d258d',
    950: '#000000',
  },
}
SCSS
$custom: #7d258d;
$custom-light: #a669af;
$custom-dark: #000000;
JSON
{
  "hex": "#7d258d",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 290.769,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4464,
    "c": 0.17447,
    "h": 321
  },
  "luminance": 0.07606
}

Semantic roles & 50–950 ramp

primary
#7D258D
secondary
#65B856
accent
#E2465E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D258D

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

Preview Lab → · Contrast checker → · Palette generator →

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