#7D2E99#7D2E99

#7D2E99 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.174 H 315.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7D2E99
RGBrgb(125, 46, 153)
HSLhsl(284, 54%, 39%)
HSVhsv(284, 70%, 60%)
CMYKcmyk(18.3%, 69.9%, 0%, 40%)
CIE-LABlab(35.23, 50.47, -43.23)
CIE-LCHlch(35.23, 66.46, 319.42°)
OKLaboklab(46.38% 0.1251 -0.1216)
OKLCHoklch(46.38% 0.174 315.8)
XYZxyz(15.1833, 8.6144, 30.9938)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E99 #4A992E
analogous
#482E99 #7D2E99 #992E80
triadic
#7D2E99 #997D2E #2E997D
tetradic
#7D2E99 #99482E #4A992E #2E8099
square
#7D2E99 #99482E #4A992E #2E8099
split-complementary
#7D2E99 #80992E #2E9948
monochromatic
#30123B #57206A #7D2E99 #A23FC5 #B96ED3

Accessibility & contrast

On white

7.71
#7D2E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7D2E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E99
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E99#FFFFFF#000000##FFFFFF
##7D2E991.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#2D5597
Tritanopia (blue-blind)
#7B4360
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d2e99;
/* rgb */ color: rgb(125, 46, 153);
/* oklch */ color: oklch(46.4% 0.174 315.8);
Tailwind
colors: {
  custom: {
    50: '#a66eb8',
    500: '#7d2e99',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e99;
$custom-light: #a66eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e99",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 284.299,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46375,
    "c": 0.17445,
    "h": 315.8
  },
  "luminance": 0.08614
}

Semantic roles & 50–950 ramp

primary
#7D2E99
secondary
#7EBB68
accent
#DD4B71
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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