#7D2CAC#7D2CAC

#7D2CAC is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.5% C 0.195 H 309.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7D2CAC
RGBrgb(125, 44, 172)
HSLhsl(278, 59%, 42%)
HSVhsv(278, 74%, 67%)
CMYKcmyk(27.3%, 74.4%, 0%, 32.5%)
CIE-LABlab(36.25, 55.39, -53.03)
CIE-LCHlch(36.25, 76.68, 316.25°)
OKLaboklab(47.52% 0.1248 -0.1503)
OKLCHoklch(47.52% 0.195 309.7)
XYZxyz(16.8030, 9.1402, 39.9008)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CAC #5BAC2C
analogous
#3D2CAC #7D2CAC #AC2C9B
triadic
#7D2CAC #AC7D2C #2CAC7D
tetradic
#7D2CAC #AC3D2C #5BAC2C #2C9BAC
square
#7D2CAC #AC3D2C #5BAC2C #2C9BAC
split-complementary
#7D2CAC #9BAC2C #2CAC3D
monochromatic
#36134B #5A207B #7D2CAC #9D46D0 #B776DC

Accessibility & contrast

On white

7.43
#7D2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7D2CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2CAC
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CAC#FFFFFF#000000##FFFFFF
##7D2CAC1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0A56A9
Tritanopia (blue-blind)
#764A6A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d2cac;
/* rgb */ color: rgb(125, 44, 172);
/* oklch */ color: oklch(47.5% 0.195 309.7);
Tailwind
colors: {
  custom: {
    50: '#a76dc5',
    500: '#7d2cac',
    950: '#000000',
  },
}
SCSS
$custom: #7d2cac;
$custom-light: #a76dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2cac",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 277.969,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47521,
    "c": 0.19537,
    "h": 309.7
  },
  "luminance": 0.0914
}

Semantic roles & 50–950 ramp

primary
#7D2CAC
secondary
#8FC470
accent
#E2457F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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