#7D2595#7D2595

#7D2595 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.182 H 318.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7D2595
RGBrgb(125, 37, 149)
HSLhsl(287, 60%, 36%)
HSVhsv(287, 75%, 58%)
CMYKcmyk(16.1%, 75.2%, 0%, 41.6%)
CIE-LABlab(33.68, 53.31, -43.29)
CIE-LCHlch(33.68, 68.67, 320.92°)
OKLaboklab(45.18% 0.1349 -0.1217)
OKLCHoklch(45.18% 0.182 318)
XYZxyz(14.5431, 7.8537, 29.1778)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2595 #3D9525
analogous
#452595 #7D2595 #952575
triadic
#7D2595 #957D25 #25957D
tetradic
#7D2595 #954525 #3D9525 #257595
square
#7D2595 #954525 #3D9525 #257595
split-complementary
#7D2595 #759525 #259545
monochromatic
#2B0D33 #541964 #7D2595 #A631C6 #BD5ED7

Accessibility & contrast

On white

8.17
#7D2595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7D2595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2595
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2595#FFFFFF#000000##FFFFFF
##7D25951.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#2A5292
Tritanopia (blue-blind)
#7C3C5B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2595;
/* rgb */ color: rgb(125, 37, 149);
/* oklch */ color: oklch(45.2% 0.182 318.0);
Tailwind
colors: {
  custom: {
    50: '#a669b5',
    500: '#7d2595',
    950: '#000000',
  },
}
SCSS
$custom: #7d2595;
$custom-light: #a669b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2595",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 287.143,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45182,
    "c": 0.18168,
    "h": 318
  },
  "luminance": 0.07853
}

Semantic roles & 50–950 ramp

primary
#7D2595
secondary
#6FBC5A
accent
#E34466
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2595

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

Preview Lab → · Contrast checker → · Palette generator →

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