#7C3DA4#7C3DA4

#7C3DA4 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.8% C 0.165 H 309.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7C3DA4
RGBrgb(124, 61, 164)
HSLhsl(277, 46%, 44%)
HSVhsv(277, 63%, 64%)
CMYKcmyk(24.4%, 62.8%, 0%, 35.7%)
CIE-LABlab(38.38, 45.54, -44.82)
CIE-LCHlch(38.38, 63.90, 315.45°)
OKLaboklab(48.84% 0.1054 -0.1263)
OKLCHoklch(48.84% 0.165 309.8)
XYZxyz(16.6805, 10.3032, 36.2248)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3DA4 #65A43D
analogous
#493DA4 #7C3DA4 #A43D99
triadic
#7C3DA4 #A47C3D #3DA47C
tetradic
#7C3DA4 #A4493D #65A43D #3D99A4
square
#7C3DA4 #A4493D #65A43D #3D99A4
split-complementary
#7C3DA4 #99A43D #3DA449
monochromatic
#391C4B #5A2C77 #7C3DA4 #9B5CC2 #B688D3

Accessibility & contrast

On white

6.86
#7C3DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7C3DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3DA4
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3DA4#FFFFFF#000000##FFFFFF
##7C3DA41.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C58A7
Deuteranopia (green-blind)
#305BA2
Tritanopia (blue-blind)
#77516B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c3da4;
/* rgb */ color: rgb(124, 61, 164);
/* oklch */ color: oklch(48.8% 0.165 309.8);
Tailwind
colors: {
  custom: {
    50: '#a576bf',
    500: '#7c3da4',
    950: '#000000',
  },
}
SCSS
$custom: #7c3da4;
$custom-light: #a576bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3da4",
  "rgb": {
    "r": 124,
    "g": 61,
    "b": 164
  },
  "hsl": {
    "h": 276.699,
    "s": 45.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48843,
    "c": 0.16453,
    "h": 309.8
  },
  "luminance": 0.10303
}

Semantic roles & 50–950 ramp

primary
#7C3DA4
secondary
#97BD7F
accent
#D55285
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7C3DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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