#7D2BA5#7D2BA5

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

Color values

HEX#7D2BA5
RGBrgb(125, 43, 165)
HSLhsl(280, 59%, 41%)
HSVhsv(280, 74%, 65%)
CMYKcmyk(24.2%, 73.9%, 0%, 35.3%)
CIE-LABlab(35.61, 54.28, -49.88)
CIE-LCHlch(35.61, 73.72, 317.42°)
OKLaboklab(46.9% 0.1269 -0.1411)
OKLCHoklch(46.9% 0.19 312)
XYZxyz(16.1116, 8.8048, 36.4408)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2BA5 #53A52B
analogous
#402BA5 #7D2BA5 #A52B90
triadic
#7D2BA5 #A57D2B #2BA57D
tetradic
#7D2BA5 #A5402B #53A52B #2B90A5
square
#7D2BA5 #A5402B #53A52B #2B90A5
split-complementary
#7D2BA5 #90A52B #2BA540
monochromatic
#331244 #581E74 #7D2BA5 #9F40CD #B771DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D2BA5#FFFFFF#000000##FFFFFF
##7D2BA51.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)
#0050A8
Deuteranopia (green-blind)
#1A55A2
Tritanopia (blue-blind)
#784666
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d2ba5;
/* rgb */ color: rgb(125, 43, 165);
/* oklch */ color: oklch(46.9% 0.190 312.0);
Tailwind
colors: {
  custom: {
    50: '#a76dc0',
    500: '#7d2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ba5;
$custom-light: #a76dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ba5",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 280.328,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46903,
    "c": 0.18975,
    "h": 312
  },
  "luminance": 0.08804
}

Semantic roles & 50–950 ramp

primary
#7D2BA5
secondary
#87C16B
accent
#E24679
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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