#7C2DC0#7C2DC0

#7C2DC0 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.214 H 303.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7C2DC0
RGBrgb(124, 45, 192)
HSLhsl(272, 62%, 46%)
HSVhsv(272, 77%, 75%)
CMYKcmyk(35.4%, 76.6%, 0%, 24.7%)
CIE-LABlab(37.78, 59.30, -62.38)
CIE-LCHlch(37.78, 86.07, 313.55°)
OKLaboklab(49.05% 0.1184 -0.1778)
OKLCHoklch(49.05% 0.214 303.7)
XYZxyz(18.7628, 9.9677, 50.7944)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2DC0 #71C02D
analogous
#332DC0 #7C2DC0 #C02DBB
triadic
#7C2DC0 #C07C2D #2DC07C
tetradic
#7C2DC0 #C0332D #71C02D #2DBBC0
square
#7C2DC0 #C0332D #71C02D #2DBBC0
split-complementary
#7C2DC0 #BBC02D #2DC033
monochromatic
#3C165D #5C218E #7C2DC0 #9A53D7 #B785E2

Accessibility & contrast

On white

7.01
#7C2DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7C2DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2DC0
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2DC0#FFFFFF#000000##FFFFFF
##7C2DC01.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#6E5375
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c2dc0;
/* rgb */ color: rgb(124, 45, 192);
/* oklch */ color: oklch(49.0% 0.214 303.7);
Tailwind
colors: {
  custom: {
    50: '#a86fd4',
    500: '#7c2dc0',
    950: '#000000',
  },
}
SCSS
$custom: #7c2dc0;
$custom-light: #a86fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2dc0",
  "rgb": {
    "r": 124,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 272.245,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49049,
    "c": 0.21363,
    "h": 303.7
  },
  "luminance": 0.09968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C2DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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