#7D2DC1#7D2DC1

#7D2DC1 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.215 H 303.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7D2DC1
RGBrgb(125, 45, 193)
HSLhsl(272, 62%, 47%)
HSVhsv(272, 77%, 76%)
CMYKcmyk(35.2%, 76.7%, 0%, 24.3%)
CIE-LABlab(38.00, 59.70, -62.61)
CIE-LCHlch(38.00, 86.51, 313.64°)
OKLaboklab(49.25% 0.1196 -0.1785)
OKLCHoklch(49.25% 0.215 303.8)
XYZxyz(19.0192, 10.0870, 51.3867)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2DC1 #71C12D
analogous
#332DC1 #7D2DC1 #C12DBB
triadic
#7D2DC1 #C17D2D #2DC17D
tetradic
#7D2DC1 #C1332D #71C12D #2DBBC1
square
#7D2DC1 #C1332D #71C12D #2DBBC1
split-complementary
#7D2DC1 #BBC12D #2DC133
monochromatic
#3D165E #5D218F #7D2DC1 #9B54D7 #B886E3

Accessibility & contrast

On white

6.96
#7D2DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7D2DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2DC1
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2DC1#FFFFFF#000000##FFFFFF
##7D2DC11.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2dc1;
/* rgb */ color: rgb(125, 45, 193);
/* oklch */ color: oklch(49.3% 0.215 303.8);
Tailwind
colors: {
  custom: {
    50: '#a96fd5',
    500: '#7d2dc1',
    950: '#000000',
  },
}
SCSS
$custom: #7d2dc1;
$custom-light: #a96fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2dc1",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 193
  },
  "hsl": {
    "h": 272.432,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49253,
    "c": 0.21482,
    "h": 303.8
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#7D2DC1
secondary
#A2CC7E
accent
#E5438D
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7D2DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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