#7D1687#7D1687

#7D1687 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.185 H 324.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7D1687
RGBrgb(125, 22, 135)
HSLhsl(295, 72%, 31%)
HSVhsv(295, 84%, 53%)
CMYKcmyk(7.4%, 83.7%, 0%, 47.1%)
CIE-LABlab(31.08, 55.47, -38.83)
CIE-LCHlch(31.08, 67.71, 325.01°)
OKLaboklab(43.04% 0.1493 -0.1085)
OKLCHoklch(43.04% 0.185 324)
XYZxyz(13.1172, 6.6839, 23.5162)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1687 #208716
analogous
#441687 #7D1687 #871658
triadic
#7D1687 #877D16 #16877D
tetradic
#7D1687 #874416 #208716 #165887
square
#7D1687 #874416 #208716 #165887
split-complementary
#7D1687 #588716 #168744
monochromatic
#1C051E #4C0D52 #7D1687 #AE1FBC #D039DF

Accessibility & contrast

On white

8.99
#7D1687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7D1687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1687
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1687#FFFFFF#000000##FFFFFF
##7D16871.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#2E4D85
Tritanopia (blue-blind)
#7F2E50
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d1687;
/* rgb */ color: rgb(125, 22, 135);
/* oklch */ color: oklch(43.0% 0.185 324.0);
Tailwind
colors: {
  custom: {
    50: '#a663aa',
    500: '#7d1687',
    950: '#000000',
  },
}
SCSS
$custom: #7d1687;
$custom-light: #a663aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1687",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 294.69,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43043,
    "c": 0.18453,
    "h": 324
  },
  "luminance": 0.06683
}

Semantic roles & 50–950 ramp

primary
#7D1687
secondary
#49BB3E
accent
#EF3949
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1687

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

Preview Lab → · Contrast checker → · Palette generator →

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