#7D2E90#7D2E90

#7D2E90 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.8% C 0.166 H 319.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#7D2E90
RGBrgb(125, 46, 144)
HSLhsl(288, 52%, 37%)
HSVhsv(288, 68%, 56%)
CMYKcmyk(13.2%, 68.1%, 0%, 43.5%)
CIE-LABlab(34.66, 48.62, -38.66)
CIE-LCHlch(34.66, 62.11, 321.51°)
OKLaboklab(45.78% 0.1256 -0.1082)
OKLCHoklch(45.78% 0.166 319.3)
XYZxyz(14.4678, 8.3282, 27.2256)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E90 #41902E
analogous
#4C2E90 #7D2E90 #902E72
triadic
#7D2E90 #907D2E #2E907D
tetradic
#7D2E90 #904C2E #41902E #2E7290
square
#7D2E90 #904C2E #41902E #2E7290
split-complementary
#7D2E90 #72902E #2E904C
monochromatic
#2C1033 #551F62 #7D2E90 #A53DBE #BB69CF

Accessibility & contrast

On white

7.88
#7D2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7D2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E90
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E90#FFFFFF#000000##FFFFFF
##7D2E901.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094C93
Deuteranopia (green-blind)
#35548E
Tritanopia (blue-blind)
#7D405B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d2e90;
/* rgb */ color: rgb(125, 46, 144);
/* oklch */ color: oklch(45.8% 0.166 319.3);
Tailwind
colors: {
  custom: {
    50: '#a66db1',
    500: '#7d2e90',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e90;
$custom-light: #a66db1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e90",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 288.367,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4578,
    "c": 0.16576,
    "h": 319.3
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

primary
#7D2E90
secondary
#74B664
accent
#DB4D68
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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