#7D2995#7D2995

#7D2995 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.177 H 317.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7D2995
RGBrgb(125, 41, 149)
HSLhsl(287, 57%, 37%)
HSVhsv(287, 72%, 58%)
CMYKcmyk(16.1%, 72.5%, 0%, 41.6%)
CIE-LABlab(34.22, 51.75, -42.41)
CIE-LCHlch(34.22, 66.91, 320.66°)
OKLaboklab(45.57% 0.1309 -0.1191)
OKLCHoklch(45.57% 0.177 317.7)
XYZxyz(14.6744, 8.1164, 29.2216)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2995 #419529
analogous
#472995 #7D2995 #952977
triadic
#7D2995 #957D29 #29957D
tetradic
#7D2995 #954729 #419529 #297795
square
#7D2995 #954729 #419529 #297795
split-complementary
#7D2995 #779529 #299547
monochromatic
#2C0F35 #551C65 #7D2995 #A536C5 #BB64D4

Accessibility & contrast

On white

8.01
#7D2995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7D2995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2995
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2995#FFFFFF#000000##FFFFFF
##7D29951.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#2D5393
Tritanopia (blue-blind)
#7C3E5C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2995;
/* rgb */ color: rgb(125, 41, 149);
/* oklch */ color: oklch(45.6% 0.177 317.7);
Tailwind
colors: {
  custom: {
    50: '#a66bb5',
    500: '#7d2995',
    950: '#000000',
  },
}
SCSS
$custom: #7d2995;
$custom-light: #a66bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2995",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 286.667,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45572,
    "c": 0.17696,
    "h": 317.7
  },
  "luminance": 0.08116
}

Semantic roles & 50–950 ramp

primary
#7D2995
secondary
#74BA60
accent
#E0486A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2995

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

Preview Lab → · Contrast checker → · Palette generator →

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