#7D2CAA#7D2CAA

#7D2CAA is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.193 H 310.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7D2CAA
RGBrgb(125, 44, 170)
HSLhsl(279, 59%, 42%)
HSVhsv(279, 74%, 67%)
CMYKcmyk(26.5%, 74.1%, 0%, 33.3%)
CIE-LABlab(36.11, 54.96, -52.07)
CIE-LCHlch(36.11, 75.71, 316.54°)
OKLaboklab(47.37% 0.1252 -0.1475)
OKLCHoklch(47.37% 0.193 310.3)
XYZxyz(16.6124, 9.0640, 38.8968)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CAA #59AA2C
analogous
#3E2CAA #7D2CAA #AA2C98
triadic
#7D2CAA #AA7D2C #2CAA7D
tetradic
#7D2CAA #AA3E2C #59AA2C #2C98AA
square
#7D2CAA #AA3E2C #59AA2C #2C98AA
split-complementary
#7D2CAA #98AA2C #2CAA3E
monochromatic
#361349 #591F79 #7D2CAA #9D44CF #B775DB

Accessibility & contrast

On white

7.47
#7D2CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7D2CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2CAA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CAA#FFFFFF#000000##FFFFFF
##7D2CAA1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#1056A7
Tritanopia (blue-blind)
#774969
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d2caa;
/* rgb */ color: rgb(125, 44, 170);
/* oklch */ color: oklch(47.4% 0.193 310.3);
Tailwind
colors: {
  custom: {
    50: '#a76dc4',
    500: '#7d2caa',
    950: '#000000',
  },
}
SCSS
$custom: #7d2caa;
$custom-light: #a76dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2caa",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 278.571,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47372,
    "c": 0.19343,
    "h": 310.3
  },
  "luminance": 0.09064
}

Semantic roles & 50–950 ramp

primary
#7D2CAA
secondary
#8DC36F
accent
#E2467E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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