#7C3CA9#7C3CA9

#7C3CA9 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.0% C 0.171 H 308.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7C3CA9
RGBrgb(124, 60, 169)
HSLhsl(275, 48%, 45%)
HSVhsv(275, 64%, 66%)
CMYKcmyk(26.6%, 64.5%, 0%, 33.7%)
CIE-LABlab(38.52, 47.20, -47.59)
CIE-LCHlch(38.52, 67.03, 314.77°)
OKLaboklab(49.05% 0.1064 -0.1345)
OKLCHoklch(49.05% 0.171 308.4)
XYZxyz(17.0880, 10.3816, 38.6321)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CA9 #69A93C
analogous
#453CA9 #7C3CA9 #A93CA0
triadic
#7C3CA9 #A97C3C #3CA97C
tetradic
#7C3CA9 #A9453C #69A93C #3CA0A9
square
#7C3CA9 #A9453C #69A93C #3CA0A9
split-complementary
#7C3CA9 #A0A93C #3CA945
monochromatic
#3A1C4F #5B2C7C #7C3CA9 #9A5DC5 #B68AD5

Accessibility & contrast

On white

6.83
#7C3CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7C3CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CA9
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CA9#FFFFFF#000000##FFFFFF
##7C3CA91.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#295BA7
Tritanopia (blue-blind)
#75526D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c3ca9;
/* rgb */ color: rgb(124, 60, 169);
/* oklch */ color: oklch(49.0% 0.171 308.4);
Tailwind
colors: {
  custom: {
    50: '#a576c3',
    500: '#7c3ca9',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ca9;
$custom-light: #a576c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ca9",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 275.229,
    "s": 47.598,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49046,
    "c": 0.17147,
    "h": 308.4
  },
  "luminance": 0.10381
}

Semantic roles & 50–950 ramp

primary
#7C3CA9
secondary
#9BC081
accent
#D75188
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7C3CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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