#7D1895#7D1895

#7D1895 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.2% C 0.194 H 318.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7D1895
RGBrgb(125, 24, 149)
HSLhsl(288, 72%, 34%)
HSVhsv(288, 84%, 58%)
CMYKcmyk(16.1%, 83.9%, 0%, 41.6%)
CIE-LABlab(32.22, 57.51, -45.64)
CIE-LCHlch(32.22, 73.42, 321.57°)
OKLaboklab(44.16% 0.1458 -0.1285)
OKLCHoklch(44.16% 0.194 318.6)
XYZxyz(14.2082, 7.1839, 29.0662)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1895 #309518
analogous
#3F1895 #7D1895 #95186F
triadic
#7D1895 #957D18 #18957D
tetradic
#7D1895 #953F18 #309518 #186F95
square
#7D1895 #953F18 #309518 #186F95
split-complementary
#7D1895 #6F9518 #18953F
monochromatic
#25072C #511060 #7D1895 #A920CA #C346E1

Accessibility & contrast

On white

8.62
#7D1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7D1895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1895
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1895#FFFFFF#000000##FFFFFF
##7D18951.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#204F92
Tritanopia (blue-blind)
#7C3658
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d1895;
/* rgb */ color: rgb(125, 24, 149);
/* oklch */ color: oklch(44.2% 0.194 318.6);
Tailwind
colors: {
  custom: {
    50: '#a764b5',
    500: '#7d1895',
    950: '#000000',
  },
}
SCSS
$custom: #7d1895;
$custom-light: #a764b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1895",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 288.48,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44155,
    "c": 0.19432,
    "h": 318.6
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#7D1895
secondary
#5EC246
accent
#EF395C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1895

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

Preview Lab → · Contrast checker → · Palette generator →

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