#7D2CC1#7D2CC1

#7D2CC1 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.2% C 0.216 H 303.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7D2CC1
RGBrgb(125, 44, 193)
HSLhsl(273, 63%, 46%)
HSVhsv(273, 77%, 76%)
CMYKcmyk(35.2%, 77.2%, 0%, 24.3%)
CIE-LABlab(37.86, 60.09, -62.83)
CIE-LCHlch(37.86, 86.94, 313.72°)
OKLaboklab(49.16% 0.1204 -0.1791)
OKLCHoklch(49.16% 0.216 303.9)
XYZxyz(18.9815, 10.0116, 51.3742)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CC1 #70C12C
analogous
#322CC1 #7D2CC1 #C12CBB
triadic
#7D2CC1 #C17D2C #2CC17D
tetradic
#7D2CC1 #C1322C #70C12C #2CBBC1
square
#7D2CC1 #C1322C #70C12C #2CBBC1
split-complementary
#7D2CC1 #BBC12C #2CC132
monochromatic
#3C155D #5D218F #7D2CC1 #9B53D8 #B884E3

Accessibility & contrast

On white

6.99
#7D2CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#7D2CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2CC1
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CC1#FFFFFF#000000##FFFFFF
##7D2CC11.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#6F5376
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d2cc1;
/* rgb */ color: rgb(125, 44, 193);
/* oklch */ color: oklch(49.2% 0.216 303.9);
Tailwind
colors: {
  custom: {
    50: '#a96ed5',
    500: '#7d2cc1',
    950: '#000000',
  },
}
SCSS
$custom: #7d2cc1;
$custom-light: #a96ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2cc1",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 272.617,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49158,
    "c": 0.21582,
    "h": 303.9
  },
  "luminance": 0.10012
}

Semantic roles & 50–950 ramp

primary
#7D2CC1
secondary
#A1CC7D
accent
#E6428D
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7D2CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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