#7D2B90#7D2B90

#7D2B90 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.170 H 319.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7D2B90
RGBrgb(125, 43, 144)
HSLhsl(289, 54%, 37%)
HSVhsv(289, 70%, 56%)
CMYKcmyk(13.2%, 70.1%, 0%, 43.5%)
CIE-LABlab(34.19, 49.91, -39.40)
CIE-LCHlch(34.19, 63.59, 321.71°)
OKLaboklab(45.45% 0.129 -0.1103)
OKLCHoklch(45.45% 0.17 319.5)
XYZxyz(14.3547, 8.1020, 27.1879)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2B90 #3E902B
analogous
#4B2B90 #7D2B90 #902B71
triadic
#7D2B90 #907D2B #2B907D
tetradic
#7D2B90 #904B2B #3E902B #2B7190
square
#7D2B90 #904B2B #3E902B #2B7190
split-complementary
#7D2B90 #71902B #2B904B
monochromatic
#2B0F32 #541D61 #7D2B90 #A639BF #BC65D1

Accessibility & contrast

On white

8.01
#7D2B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7D2B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2B90
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2B90#FFFFFF#000000##FFFFFF
##7D2B901.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B93
Deuteranopia (green-blind)
#33538E
Tritanopia (blue-blind)
#7D3E5A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2b90;
/* rgb */ color: rgb(125, 43, 144);
/* oklch */ color: oklch(45.4% 0.170 319.5);
Tailwind
colors: {
  custom: {
    50: '#a66cb1',
    500: '#7d2b90',
    950: '#000000',
  },
}
SCSS
$custom: #7d2b90;
$custom-light: #a66cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2b90",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 288.713,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45447,
    "c": 0.16975,
    "h": 319.5
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#7D2B90
secondary
#70B760
accent
#DD4A66
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2B90

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

Preview Lab → · Contrast checker → · Palette generator →

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