#7D2CAE#7D2CAE

#7D2CAE is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.7% C 0.197 H 309.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7D2CAE
RGBrgb(125, 44, 174)
HSLhsl(277, 60%, 43%)
HSVhsv(277, 75%, 68%)
CMYKcmyk(28.2%, 74.7%, 0%, 31.8%)
CIE-LABlab(36.40, 55.83, -53.98)
CIE-LCHlch(36.40, 77.66, 315.96°)
OKLaboklab(47.67% 0.1245 -0.1531)
OKLCHoklch(47.67% 0.197 309.1)
XYZxyz(16.9966, 9.2176, 40.9200)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CAE #5DAE2C
analogous
#3C2CAE #7D2CAE #AE2C9E
triadic
#7D2CAE #AE7D2C #2CAE7D
tetradic
#7D2CAE #AE3C2C #5DAE2C #2C9EAE
square
#7D2CAE #AE3C2C #5DAE2C #2C9EAE
split-complementary
#7D2CAE #9EAE2C #2CAE3C
monochromatic
#37134C #5A207D #7D2CAE #9D47D0 #B778DD

Accessibility & contrast

On white

7.39
#7D2CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7D2CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2CAE
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CAE#FFFFFF#000000##FFFFFF
##7D2CAE1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0257AB
Tritanopia (blue-blind)
#764B6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d2cae;
/* rgb */ color: rgb(125, 44, 174);
/* oklch */ color: oklch(47.7% 0.197 309.1);
Tailwind
colors: {
  custom: {
    50: '#a76dc7',
    500: '#7d2cae',
    950: '#000000',
  },
}
SCSS
$custom: #7d2cae;
$custom-light: #a76dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2cae",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 277.385,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47671,
    "c": 0.19731,
    "h": 309.1
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#7D2CAE
secondary
#91C571
accent
#E34580
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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