#7D2CA5#7D2CA5

#7D2CA5 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.189 H 311.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7D2CA5
RGBrgb(125, 44, 165)
HSLhsl(280, 58%, 41%)
HSVhsv(280, 73%, 65%)
CMYKcmyk(24.2%, 73.3%, 0%, 35.3%)
CIE-LABlab(35.75, 53.87, -49.65)
CIE-LCHlch(35.75, 73.26, 317.33°)
OKLaboklab(47.01% 0.1259 -0.1404)
OKLCHoklch(47.01% 0.189 311.9)
XYZxyz(16.1484, 8.8784, 36.4530)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CA5 #54A52C
analogous
#402CA5 #7D2CA5 #A52C90
triadic
#7D2CA5 #A57D2C #2CA57D
tetradic
#7D2CA5 #A5402C #54A52C #2C90A5
square
#7D2CA5 #A5402C #54A52C #2C90A5
split-complementary
#7D2CA5 #90A52C #2CA540
monochromatic
#341244 #581F75 #7D2CA5 #9F42CD #B772D9

Accessibility & contrast

On white

7.57
#7D2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7D2CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2CA5
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CA5#FFFFFF#000000##FFFFFF
##7D2CA51.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#1B56A2
Tritanopia (blue-blind)
#784766
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d2ca5;
/* rgb */ color: rgb(125, 44, 165);
/* oklch */ color: oklch(47.0% 0.189 311.9);
Tailwind
colors: {
  custom: {
    50: '#a76dc0',
    500: '#7d2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ca5;
$custom-light: #a76dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ca5",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 280.165,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47005,
    "c": 0.18858,
    "h": 311.9
  },
  "luminance": 0.08878
}

Semantic roles & 50–950 ramp

primary
#7D2CA5
secondary
#88C16C
accent
#E1477A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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