#7C3FA7#7C3FA7

#7C3FA7 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.165 H 308.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7C3FA7
RGBrgb(124, 63, 167)
HSLhsl(275, 45%, 45%)
HSVhsv(275, 62%, 65%)
CMYKcmyk(25.7%, 62.3%, 0%, 34.5%)
CIE-LABlab(38.95, 45.20, -45.70)
CIE-LCHlch(38.95, 64.28, 314.69°)
OKLaboklab(49.32% 0.1028 -0.1289)
OKLCHoklch(49.32% 0.165 308.6)
XYZxyz(17.0633, 10.6304, 37.7047)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FA7 #6AA73F
analogous
#483FA7 #7C3FA7 #A73F9E
triadic
#7C3FA7 #A77C3F #3FA77C
tetradic
#7C3FA7 #A7483F #6AA73F #3F9EA7
square
#7C3FA7 #A7483F #6AA73F #3F9EA7
split-complementary
#7C3FA7 #9EA73F #3FA748
monochromatic
#3A1D4E #5B2E7B #7C3FA7 #9A60C3 #B68DD4

Accessibility & contrast

On white

6.72
#7C3FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7C3FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FA7
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FA7#FFFFFF#000000##FFFFFF
##7C3FA71.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C59AA
Deuteranopia (green-blind)
#2F5CA5
Tritanopia (blue-blind)
#76536D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c3fa7;
/* rgb */ color: rgb(124, 63, 167);
/* oklch */ color: oklch(49.3% 0.165 308.6);
Tailwind
colors: {
  custom: {
    50: '#a577c2',
    500: '#7c3fa7',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fa7;
$custom-light: #a577c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fa7",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 275.192,
    "s": 45.217,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49317,
    "c": 0.1649,
    "h": 308.6
  },
  "luminance": 0.1063
}

Semantic roles & 50–950 ramp

primary
#7C3FA7
secondary
#9CBF83
accent
#D55389
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7C3FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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