#7D2A90#7D2A90

#7D2A90 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.171 H 319.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7D2A90
RGBrgb(125, 42, 144)
HSLhsl(289, 55%, 36%)
HSVhsv(289, 71%, 56%)
CMYKcmyk(13.2%, 70.8%, 0%, 43.5%)
CIE-LABlab(34.05, 50.33, -39.64)
CIE-LCHlch(34.05, 64.07, 321.78°)
OKLaboklab(45.34% 0.1301 -0.111)
OKLCHoklch(45.34% 0.171 319.5)
XYZxyz(14.3188, 8.0302, 27.1759)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A90 #3D902A
analogous
#4A2A90 #7D2A90 #902A70
triadic
#7D2A90 #907D2A #2A907D
tetradic
#7D2A90 #904A2A #3D902A #2A7090
square
#7D2A90 #904A2A #3D902A #2A7090
split-complementary
#7D2A90 #70902A #2A904A
monochromatic
#2B0E31 #541C61 #7D2A90 #A638BF #BD63D1

Accessibility & contrast

On white

8.06
#7D2A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7D2A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A90
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A90#FFFFFF#000000##FFFFFF
##7D2A901.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#32538E
Tritanopia (blue-blind)
#7D3D5A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2a90;
/* rgb */ color: rgb(125, 42, 144);
/* oklch */ color: oklch(45.3% 0.171 319.5);
Tailwind
colors: {
  custom: {
    50: '#a66bb1',
    500: '#7d2a90',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a90;
$custom-light: #a66bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a90",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 288.824,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45341,
    "c": 0.17105,
    "h": 319.5
  },
  "luminance": 0.0803
}

Semantic roles & 50–950 ramp

primary
#7D2A90
secondary
#6FB75E
accent
#DE4A65
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2A90

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

Preview Lab → · Contrast checker → · Palette generator →

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