#7D2DAE#7D2DAE

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

Color values

HEX#7D2DAE
RGBrgb(125, 45, 174)
HSLhsl(277, 59%, 43%)
HSVhsv(277, 74%, 68%)
CMYKcmyk(28.2%, 74.1%, 0%, 31.8%)
CIE-LABlab(36.54, 55.43, -53.75)
CIE-LCHlch(36.54, 77.21, 315.88°)
OKLaboklab(47.77% 0.1235 -0.1524)
OKLCHoklch(47.77% 0.196 309)
XYZxyz(17.0343, 9.2931, 40.9326)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2DAE #5EAE2D
analogous
#3C2DAE #7D2DAE #AE2D9E
triadic
#7D2DAE #AE7D2D #2DAE7D
tetradic
#7D2DAE #AE3C2D #5EAE2D #2D9EAE
square
#7D2DAE #AE3C2D #5EAE2D #2D9EAE
split-complementary
#7D2DAE #9EAE2D #2DAE3C
monochromatic
#37144D #5A207D #7D2DAE #9C48D0 #B779DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D2DAE#FFFFFF#000000##FFFFFF
##7D2DAE1.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)
#0053B2
Deuteranopia (green-blind)
#0557AB
Tritanopia (blue-blind)
#764B6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d2dae;
/* rgb */ color: rgb(125, 45, 174);
/* oklch */ color: oklch(47.8% 0.196 309.0);
Tailwind
colors: {
  custom: {
    50: '#a76ec7',
    500: '#7d2dae',
    950: '#000000',
  },
}
SCSS
$custom: #7d2dae;
$custom-light: #a76ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2dae",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 277.209,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47772,
    "c": 0.1962,
    "h": 309
  },
  "luminance": 0.09293
}

Semantic roles & 50–950 ramp

primary
#7D2DAE
secondary
#92C472
accent
#E24681
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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