#7D2585#7D2585

#7D2585 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.167 H 324.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7D2585
RGBrgb(125, 37, 133)
HSLhsl(295, 56%, 33%)
HSVhsv(295, 72%, 52%)
CMYKcmyk(6%, 72.2%, 0%, 47.8%)
CIE-LABlab(32.65, 50.22, -35.07)
CIE-LCHlch(32.65, 61.25, 325.07°)
OKLaboklab(44.12% 0.136 -0.0976)
OKLCHoklch(44.12% 0.167 324.3)
XYZxyz(13.3523, 7.3774, 22.9064)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2585 #2D8525
analogous
#4D2585 #7D2585 #85255D
triadic
#7D2585 #857D25 #25857D
tetradic
#7D2585 #854D25 #2D8525 #255D85
square
#7D2585 #854D25 #2D8525 #255D85
split-complementary
#7D2585 #5D8525 #25854D
monochromatic
#230A25 #501855 #7D2585 #AA32B5 #C555D0

Accessibility & contrast

On white

8.48
#7D2585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7D2585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2585
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2585#FFFFFF#000000##FFFFFF
##7D25851.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094688
Deuteranopia (green-blind)
#375083
Tritanopia (blue-blind)
#803552
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2585;
/* rgb */ color: rgb(125, 37, 133);
/* oklch */ color: oklch(44.1% 0.167 324.3);
Tailwind
colors: {
  custom: {
    50: '#a668a9',
    500: '#7d2585',
    950: '#000000',
  },
}
SCSS
$custom: #7d2585;
$custom-light: #a668a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2585",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 295,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44122,
    "c": 0.1674,
    "h": 324.3
  },
  "luminance": 0.07377
}

Semantic roles & 50–950 ramp

primary
#7D2585
secondary
#5AB452
accent
#E04855
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2585

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

Preview Lab → · Contrast checker → · Palette generator →

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