#7D2CA0#7D2CA0

#7D2CA0 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.6% C 0.184 H 313.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7D2CA0
RGBrgb(125, 44, 160)
HSLhsl(282, 57%, 40%)
HSVhsv(282, 73%, 63%)
CMYKcmyk(21.9%, 72.5%, 0%, 37.3%)
CIE-LABlab(35.40, 52.80, -47.20)
CIE-LCHlch(35.40, 70.82, 318.20°)
OKLaboklab(46.65% 0.1266 -0.1332)
OKLCHoklch(46.65% 0.184 313.5)
XYZxyz(15.7022, 8.6999, 34.1030)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CA0 #4FA02C
analogous
#432CA0 #7D2CA0 #A02C89
triadic
#7D2CA0 #A07D2C #2CA07D
tetradic
#7D2CA0 #A0432C #4FA02C #2C89A0
square
#7D2CA0 #A0432C #4FA02C #2C89A0
split-complementary
#7D2CA0 #89A02C #2CA043
monochromatic
#321240 #581F70 #7D2CA0 #A03FCA #B86FD7

Accessibility & contrast

On white

7.66
#7D2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7D2CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2CA0
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CA0#FFFFFF#000000##FFFFFF
##7D2CA01.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#23559D
Tritanopia (blue-blind)
#794563
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d2ca0;
/* rgb */ color: rgb(125, 44, 160);
/* oklch */ color: oklch(46.6% 0.184 313.5);
Tailwind
colors: {
  custom: {
    50: '#a66dbd',
    500: '#7d2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ca0;
$custom-light: #a66dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ca0",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 281.897,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.46646,
    "c": 0.18374,
    "h": 313.5
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#7D2CA0
secondary
#83BF69
accent
#E04876
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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