#7D2195#7D2195

#7D2195 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.186 H 318.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7D2195
RGBrgb(125, 33, 149)
HSLhsl(288, 64%, 36%)
HSVhsv(288, 78%, 58%)
CMYKcmyk(16.1%, 77.9%, 0%, 41.6%)
CIE-LABlab(33.17, 54.75, -44.10)
CIE-LCHlch(33.17, 70.30, 321.15°)
OKLaboklab(44.83% 0.1386 -0.124)
OKLCHoklch(44.83% 0.186 318.2)
XYZxyz(14.4254, 7.6183, 29.1386)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2195 #399521
analogous
#432195 #7D2195 #952173
triadic
#7D2195 #957D21 #21957D
tetradic
#7D2195 #954321 #399521 #217395
square
#7D2195 #954321 #399521 #217395
split-complementary
#7D2195 #739521 #219543
monochromatic
#290B31 #531663 #7D2195 #A72CC7 #BF57DA

Accessibility & contrast

On white

8.32
#7D2195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7D2195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2195
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2195#FFFFFF#000000##FFFFFF
##7D21951.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#275192
Tritanopia (blue-blind)
#7C3A5A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2195;
/* rgb */ color: rgb(125, 33, 149);
/* oklch */ color: oklch(44.8% 0.186 318.2);
Tailwind
colors: {
  custom: {
    50: '#a667b5',
    500: '#7d2195',
    950: '#000000',
  },
}
SCSS
$custom: #7d2195;
$custom-light: #a667b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2195",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 287.586,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44827,
    "c": 0.18601,
    "h": 318.2
  },
  "luminance": 0.07618
}

Semantic roles & 50–950 ramp

primary
#7D2195
secondary
#6ABE54
accent
#E74163
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2195

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

Preview Lab → · Contrast checker → · Palette generator →

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