#7D1990#7D1990

#7D1990 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.189 H 320.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7D1990
RGBrgb(125, 25, 144)
HSLhsl(290, 70%, 33%)
HSVhsv(290, 83%, 56%)
CMYKcmyk(13.2%, 82.6%, 0%, 43.5%)
CIE-LABlab(31.96, 56.29, -42.98)
CIE-LCHlch(31.96, 70.82, 322.64°)
OKLaboklab(43.86% 0.1459 -0.1207)
OKLCHoklch(43.86% 0.189 320.4)
XYZxyz(13.8385, 7.0696, 27.0158)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1990 #2C9019
analogous
#411990 #7D1990 #901967
triadic
#7D1990 #907D19 #19907D
tetradic
#7D1990 #904119 #2C9019 #196790
square
#7D1990 #904119 #2C9019 #196790
split-complementary
#7D1990 #679019 #199041
monochromatic
#220728 #50105C #7D1990 #AA22C4 #C645DF

Accessibility & contrast

On white

8.70
#7D1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7D1990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1990
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1990#FFFFFF#000000##FFFFFF
##7D19901.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#274F8D
Tritanopia (blue-blind)
#7E3456
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d1990;
/* rgb */ color: rgb(125, 25, 144);
/* oklch */ color: oklch(43.9% 0.189 320.4);
Tailwind
colors: {
  custom: {
    50: '#a764b1',
    500: '#7d1990',
    950: '#000000',
  },
}
SCSS
$custom: #7d1990;
$custom-light: #a764b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1990",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 290.42,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43863,
    "c": 0.18934,
    "h": 320.4
  },
  "luminance": 0.07069
}

Semantic roles & 50–950 ramp

primary
#7D1990
secondary
#59C045
accent
#ED3B57
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1990

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

Preview Lab → · Contrast checker → · Palette generator →

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