#7C2DC1#7C2DC1

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

Color values

HEX#7C2DC1
RGBrgb(124, 45, 193)
HSLhsl(272, 62%, 47%)
HSVhsv(272, 77%, 76%)
CMYKcmyk(35.8%, 76.7%, 0%, 24.3%)
CIE-LABlab(37.86, 59.53, -62.84)
CIE-LCHlch(37.86, 86.56, 313.45°)
OKLaboklab(49.13% 0.1181 -0.1792)
OKLCHoklch(49.13% 0.215 303.4)
XYZxyz(18.8739, 10.0121, 51.3799)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2DC1 #72C12D
analogous
#322DC1 #7C2DC1 #C12DBC
triadic
#7C2DC1 #C17C2D #2DC17C
tetradic
#7C2DC1 #C1322D #72C12D #2DBCC1
square
#7C2DC1 #C1322D #72C12D #2DBCC1
split-complementary
#7C2DC1 #BCC12D #2DC132
monochromatic
#3C165E #5C218F #7C2DC1 #9A54D7 #B786E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C2DC1#FFFFFF#000000##FFFFFF
##7C2DC11.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)
#0058C5
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#6E5376
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c2dc1;
/* rgb */ color: rgb(124, 45, 193);
/* oklch */ color: oklch(49.1% 0.215 303.4);
Tailwind
colors: {
  custom: {
    50: '#a86fd5',
    500: '#7c2dc1',
    950: '#000000',
  },
}
SCSS
$custom: #7c2dc1;
$custom-light: #a86fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2dc1",
  "rgb": {
    "r": 124,
    "g": 45,
    "b": 193
  },
  "hsl": {
    "h": 272.027,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4913,
    "c": 0.21461,
    "h": 303.4
  },
  "luminance": 0.10012
}

Semantic roles & 50–950 ramp

primary
#7C2DC1
secondary
#A2CC7E
accent
#E5438E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C2DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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