#7D2CA3#7D2CA3

#7D2CA3 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.187 H 312.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7D2CA3
RGBrgb(125, 44, 163)
HSLhsl(281, 57%, 41%)
HSVhsv(281, 73%, 64%)
CMYKcmyk(23.3%, 73%, 0%, 36.1%)
CIE-LABlab(35.61, 53.44, -48.68)
CIE-LCHlch(35.61, 72.29, 317.67°)
OKLaboklab(46.86% 0.1262 -0.1375)
OKLCHoklch(46.86% 0.187 312.5)
XYZxyz(15.9678, 8.8061, 35.5018)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CA3 #52A32C
analogous
#412CA3 #7D2CA3 #A32C8D
triadic
#7D2CA3 #A37D2C #2CA37D
tetradic
#7D2CA3 #A3412C #52A32C #2C8DA3
square
#7D2CA3 #A3412C #52A32C #2C8DA3
split-complementary
#7D2CA3 #8DA32C #2CA341
monochromatic
#331243 #581F73 #7D2CA3 #9F41CC #B771D9

Accessibility & contrast

On white

7.61
#7D2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7D2CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2CA3
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CA3#FFFFFF#000000##FFFFFF
##7D2CA31.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#1F55A0
Tritanopia (blue-blind)
#794665
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d2ca3;
/* rgb */ color: rgb(125, 44, 163);
/* oklch */ color: oklch(46.9% 0.187 312.5);
Tailwind
colors: {
  custom: {
    50: '#a76dbf',
    500: '#7d2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ca3;
$custom-light: #a76dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ca3",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 280.84,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4686,
    "c": 0.18665,
    "h": 312.5
  },
  "luminance": 0.08806
}

Semantic roles & 50–950 ramp

primary
#7D2CA3
secondary
#86C06B
accent
#E14778
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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