#7C3FA5#7C3FA5

#7C3FA5 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.2% C 0.163 H 309.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7C3FA5
RGBrgb(124, 63, 165)
HSLhsl(276, 45%, 45%)
HSVhsv(276, 62%, 65%)
CMYKcmyk(24.8%, 61.8%, 0%, 35.3%)
CIE-LABlab(38.82, 44.74, -44.71)
CIE-LCHlch(38.82, 63.25, 315.02°)
OKLaboklab(49.18% 0.1029 -0.126)
OKLCHoklch(49.18% 0.163 309.2)
XYZxyz(16.8799, 10.5570, 36.7385)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FA5 #68A53F
analogous
#493FA5 #7C3FA5 #A53F9B
triadic
#7C3FA5 #A57C3F #3FA57C
tetradic
#7C3FA5 #A5493F #68A53F #3F9BA5
square
#7C3FA5 #A5493F #68A53F #3F9BA5
split-complementary
#7C3FA5 #9BA53F #3FA549
monochromatic
#391D4C #5B2E79 #7C3FA5 #9A5FC2 #B68CD3

Accessibility & contrast

On white

6.75
#7C3FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7C3FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FA5
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FA5#FFFFFF#000000##FFFFFF
##7C3FA51.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1259A8
Deuteranopia (green-blind)
#315CA3
Tritanopia (blue-blind)
#76536C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c3fa5;
/* rgb */ color: rgb(124, 63, 165);
/* oklch */ color: oklch(49.2% 0.163 309.2);
Tailwind
colors: {
  custom: {
    50: '#a577c0',
    500: '#7c3fa5',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fa5;
$custom-light: #a577c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fa5",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 275.882,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49184,
    "c": 0.16267,
    "h": 309.2
  },
  "luminance": 0.10557
}

Semantic roles & 50–950 ramp

primary
#7C3FA5
secondary
#9ABE82
accent
#D45387
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7C3FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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