#7D2EAE#7D2EAE

#7D2EAE is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.9% C 0.195 H 308.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7D2EAE
RGBrgb(125, 46, 174)
HSLhsl(277, 58%, 43%)
HSVhsv(277, 74%, 68%)
CMYKcmyk(28.2%, 73.6%, 0%, 31.8%)
CIE-LABlab(36.69, 55.01, -53.52)
CIE-LCHlch(36.69, 76.75, 315.79°)
OKLaboklab(47.88% 0.1225 -0.1518)
OKLCHoklch(47.88% 0.195 308.9)
XYZxyz(17.0729, 9.3703, 40.9454)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2EAE #5FAE2E
analogous
#3D2EAE #7D2EAE #AE2E9F
triadic
#7D2EAE #AE7D2E #2EAE7D
tetradic
#7D2EAE #AE3D2E #5FAE2E #2E9FAE
square
#7D2EAE #AE3D2E #5FAE2E #2E9FAE
split-complementary
#7D2EAE #9FAE2E #2EAE3D
monochromatic
#37144D #5A217E #7D2EAE #9C4ACF #B77ADC

Accessibility & contrast

On white

7.31
#7D2EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7D2EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2EAE
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2EAE#FFFFFF#000000##FFFFFF
##7D2EAE1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0857AB
Tritanopia (blue-blind)
#764C6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d2eae;
/* rgb */ color: rgb(125, 46, 174);
/* oklch */ color: oklch(47.9% 0.195 308.9);
Tailwind
colors: {
  custom: {
    50: '#a76ec7',
    500: '#7d2eae',
    950: '#000000',
  },
}
SCSS
$custom: #7d2eae;
$custom-light: #a76ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2eae",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 277.031,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47875,
    "c": 0.19506,
    "h": 308.9
  },
  "luminance": 0.0937
}

Semantic roles & 50–950 ramp

primary
#7D2EAE
secondary
#92C474
accent
#E14682
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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