#7C3CA2#7C3CA2

#7C3CA2 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.6% C 0.164 H 310.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7C3CA2
RGBrgb(124, 60, 162)
HSLhsl(278, 46%, 44%)
HSVhsv(278, 63%, 64%)
CMYKcmyk(23.5%, 63%, 0%, 36.5%)
CIE-LABlab(38.07, 45.58, -44.13)
CIE-LCHlch(38.07, 63.44, 315.93°)
OKLaboklab(48.57% 0.1067 -0.1243)
OKLCHoklch(48.57% 0.164 310.6)
XYZxyz(16.4484, 10.1258, 35.2634)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CA2 #62A23C
analogous
#493CA2 #7C3CA2 #A23C95
triadic
#7C3CA2 #A27C3C #3CA27C
tetradic
#7C3CA2 #A2493C #62A23C #3C95A2
square
#7C3CA2 #A2493C #62A23C #3C95A2
split-complementary
#7C3CA2 #95A23C #3CA249
monochromatic
#381B49 #5A2B75 #7C3CA2 #9B59C2 #B686D2

Accessibility & contrast

On white

6.94
#7C3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7C3CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CA2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CA2#FFFFFF#000000##FFFFFF
##7C3CA21.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E57A5
Deuteranopia (green-blind)
#315BA0
Tritanopia (blue-blind)
#775069
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c3ca2;
/* rgb */ color: rgb(124, 60, 162);
/* oklch */ color: oklch(48.6% 0.164 310.6);
Tailwind
colors: {
  custom: {
    50: '#a576be',
    500: '#7c3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ca2;
$custom-light: #a576be;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ca2",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 277.647,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48574,
    "c": 0.16382,
    "h": 310.6
  },
  "luminance": 0.10125
}

Semantic roles & 50–950 ramp

primary
#7C3CA2
secondary
#95BC7D
accent
#D65283
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7C3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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