#7D2EAC#7D2EAC

#7D2EAC is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.7% C 0.193 H 309.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7D2EAC
RGBrgb(125, 46, 172)
HSLhsl(278, 58%, 43%)
HSVhsv(278, 73%, 67%)
CMYKcmyk(27.3%, 73.3%, 0%, 32.5%)
CIE-LABlab(36.54, 54.57, -52.56)
CIE-LCHlch(36.54, 75.77, 316.07°)
OKLaboklab(47.73% 0.1229 -0.1489)
OKLCHoklch(47.73% 0.193 309.5)
XYZxyz(16.8793, 9.2929, 39.9262)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2EAC #5DAC2E
analogous
#3E2EAC #7D2EAC #AC2E9C
triadic
#7D2EAC #AC7D2E #2EAC7D
tetradic
#7D2EAC #AC3E2E #5DAC2E #2E9CAC
square
#7D2EAC #AC3E2E #5DAC2E #2E9CAC
split-complementary
#7D2EAC #9CAC2E #2EAC3E
monochromatic
#37144B #5A217C #7D2EAC #9D49CE #B779DB

Accessibility & contrast

On white

7.35
#7D2EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7D2EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2EAC
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2EAC#FFFFFF#000000##FFFFFF
##7D2EAC1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#0F57A9
Tritanopia (blue-blind)
#764B6A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d2eac;
/* rgb */ color: rgb(125, 46, 172);
/* oklch */ color: oklch(47.7% 0.193 309.5);
Tailwind
colors: {
  custom: {
    50: '#a76ec5',
    500: '#7d2eac',
    950: '#000000',
  },
}
SCSS
$custom: #7d2eac;
$custom-light: #a76ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2eac",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 277.619,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47726,
    "c": 0.19307,
    "h": 309.5
  },
  "luminance": 0.09293
}

Semantic roles & 50–950 ramp

primary
#7D2EAC
secondary
#91C372
accent
#E14780
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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