#7D2E95#7D2E95

#7D2E95 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.171 H 317.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7D2E95
RGBrgb(125, 46, 149)
HSLhsl(286, 53%, 38%)
HSVhsv(286, 69%, 58%)
CMYKcmyk(16.1%, 69.1%, 0%, 41.6%)
CIE-LABlab(34.97, 49.64, -41.21)
CIE-LCHlch(34.97, 64.52, 320.30°)
OKLaboklab(46.11% 0.1254 -0.1156)
OKLCHoklch(46.11% 0.171 317.3)
XYZxyz(14.8585, 8.4845, 29.2829)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E95 #46952E
analogous
#492E95 #7D2E95 #952E7A
triadic
#7D2E95 #957D2E #2E957D
tetradic
#7D2E95 #95492E #46952E #2E7A95
square
#7D2E95 #95492E #46952E #2E7A95
split-complementary
#7D2E95 #7A952E #2E9549
monochromatic
#2F1137 #562066 #7D2E95 #A43DC3 #BA6CD2

Accessibility & contrast

On white

7.79
#7D2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7D2E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E95
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E95#FFFFFF#000000##FFFFFF
##7D2E951.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#315593
Tritanopia (blue-blind)
#7C425E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d2e95;
/* rgb */ color: rgb(125, 46, 149);
/* oklch */ color: oklch(46.1% 0.171 317.3);
Tailwind
colors: {
  custom: {
    50: '#a66db5',
    500: '#7d2e95',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e95;
$custom-light: #a66db5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e95",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 286.019,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46107,
    "c": 0.17057,
    "h": 317.3
  },
  "luminance": 0.08484
}

Semantic roles & 50–950 ramp

primary
#7D2E95
secondary
#79B966
accent
#DC4C6D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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