#7D2795#7D2795

#7D2795 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.179 H 317.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7D2795
RGBrgb(125, 39, 149)
HSLhsl(287, 59%, 37%)
HSVhsv(287, 74%, 58%)
CMYKcmyk(16.1%, 73.8%, 0%, 41.6%)
CIE-LABlab(33.94, 52.54, -42.86)
CIE-LCHlch(33.94, 67.81, 320.79°)
OKLaboklab(45.37% 0.1329 -0.1204)
OKLCHoklch(45.37% 0.179 317.8)
XYZxyz(14.6070, 7.9816, 29.1991)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2795 #3F9527
analogous
#462795 #7D2795 #952776
triadic
#7D2795 #957D27 #27957D
tetradic
#7D2795 #954627 #3F9527 #277695
square
#7D2795 #954627 #3F9527 #277695
split-complementary
#7D2795 #769527 #279546
monochromatic
#2C0E34 #541A64 #7D2795 #A634C6 #BC61D6

Accessibility & contrast

On white

8.09
#7D2795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7D2795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2795
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2795#FFFFFF#000000##FFFFFF
##7D27951.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#2B5293
Tritanopia (blue-blind)
#7C3D5C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2795;
/* rgb */ color: rgb(125, 39, 149);
/* oklch */ color: oklch(45.4% 0.179 317.8);
Tailwind
colors: {
  custom: {
    50: '#a66ab5',
    500: '#7d2795',
    950: '#000000',
  },
}
SCSS
$custom: #7d2795;
$custom-light: #a66ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2795",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 286.909,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45373,
    "c": 0.17936,
    "h": 317.8
  },
  "luminance": 0.07981
}

Semantic roles & 50–950 ramp

primary
#7D2795
secondary
#71BB5D
accent
#E24668
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2795

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

Preview Lab → · Contrast checker → · Palette generator →

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