#7D1985#7D1985

#7D1985 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.1% C 0.180 H 324.7°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#7D1985
RGBrgb(125, 25, 133)
HSLhsl(296, 68%, 31%)
HSVhsv(296, 81%, 52%)
CMYKcmyk(6%, 81.2%, 0%, 47.8%)
CIE-LABlab(31.23, 54.29, -37.34)
CIE-LCHlch(31.23, 65.89, 325.48°)
OKLaboklab(43.11% 0.1472 -0.1042)
OKLCHoklch(43.11% 0.18 324.7)
XYZxyz(13.0384, 6.7496, 22.8018)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1985 #218519
analogous
#471985 #7D1985 #851957
triadic
#7D1985 #857D19 #19857D
tetradic
#7D1985 #854719 #218519 #195785
square
#7D1985 #854719 #218519 #195785
split-complementary
#7D1985 #578519 #198547
monochromatic
#1C061E #4D0F51 #7D1985 #AD23B9 #CF3EDB

Accessibility & contrast

On white

8.94
#7D1985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7D1985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1985
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1985#FFFFFF#000000##FFFFFF
##7D19851.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#314D83
Tritanopia (blue-blind)
#802E4F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d1985;
/* rgb */ color: rgb(125, 25, 133);
/* oklch */ color: oklch(43.1% 0.180 324.7);
Tailwind
colors: {
  custom: {
    50: '#a663a9',
    500: '#7d1985',
    950: '#000000',
  },
}
SCSS
$custom: #7d1985;
$custom-light: #a663a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1985",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 295.556,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4311,
    "c": 0.18032,
    "h": 324.7
  },
  "luminance": 0.06749
}

Semantic roles & 50–950 ramp

primary
#7D1985
secondary
#4AB941
accent
#EB3D4A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1985

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

Preview Lab → · Contrast checker → · Palette generator →

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