#7C3DA2#7C3DA2

#7C3DA2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.7% C 0.162 H 310.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7C3DA2
RGBrgb(124, 61, 162)
HSLhsl(277, 45%, 44%)
HSVhsv(277, 62%, 64%)
CMYKcmyk(23.5%, 62.3%, 0%, 36.5%)
CIE-LABlab(38.25, 45.07, -43.83)
CIE-LCHlch(38.25, 62.87, 315.80°)
OKLaboklab(48.71% 0.1054 -0.1234)
OKLCHoklch(48.71% 0.162 310.5)
XYZxyz(16.5013, 10.2316, 35.2810)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3DA2 #63A23D
analogous
#4A3DA2 #7C3DA2 #A23D95
triadic
#7C3DA2 #A27C3D #3DA27C
tetradic
#7C3DA2 #A24A3D #63A23D #3D95A2
square
#7C3DA2 #A24A3D #63A23D #3D95A2
split-complementary
#7C3DA2 #95A23D #3DA24A
monochromatic
#381C49 #5A2C76 #7C3DA2 #9B5BC1 #B687D2

Accessibility & contrast

On white

6.89
#7C3DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7C3DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3DA2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3DA2#FFFFFF#000000##FFFFFF
##7C3DA21.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1157A5
Deuteranopia (green-blind)
#325BA0
Tritanopia (blue-blind)
#77506A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c3da2;
/* rgb */ color: rgb(124, 61, 162);
/* oklch */ color: oklch(48.7% 0.162 310.5);
Tailwind
colors: {
  custom: {
    50: '#a576be',
    500: '#7c3da2',
    950: '#000000',
  },
}
SCSS
$custom: #7c3da2;
$custom-light: #a576be;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3da2",
  "rgb": {
    "r": 124,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 277.426,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4871,
    "c": 0.16233,
    "h": 310.5
  },
  "luminance": 0.10231
}

Semantic roles & 50–950 ramp

primary
#7C3DA2
secondary
#96BC7E
accent
#D55384
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7C3DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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