#7C3CC5#7C3CC5

#7C3CC5 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.1% C 0.202 H 300.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7C3CC5
RGBrgb(124, 60, 197)
HSLhsl(268, 54%, 50%)
HSVhsv(268, 70%, 77%)
CMYKcmyk(37.1%, 69.5%, 0%, 22.7%)
CIE-LABlab(40.49, 53.93, -60.90)
CIE-LCHlch(40.49, 81.35, 311.52°)
OKLaboklab(51.08% 0.1033 -0.1736)
OKLCHoklch(51.08% 0.202 300.8)
XYZxyz(20.0036, 11.5479, 53.9876)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CC5 #85C53C
analogous
#3C41C5 #7C3CC5 #C03CC5
triadic
#7C3CC5 #C57C3C #3CC57C
tetradic
#7C3CC5 #C53C41 #85C53C #3CC5C0
square
#7C3CC5 #C53C41 #85C53C #3CC5C0
split-complementary
#7C3CC5 #C5C03C #41C53C
monochromatic
#411F68 #5E2D97 #7C3CC5 #9C6BD3 #BB9AE1

Accessibility & contrast

On white

6.35
#7C3CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7C3CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CC5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CC5#FFFFFF#000000##FFFFFF
##7C3CC51.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#6C5D7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c3cc5;
/* rgb */ color: rgb(124, 60, 197);
/* oklch */ color: oklch(51.1% 0.202 300.8);
Tailwind
colors: {
  custom: {
    50: '#a877d7',
    500: '#7c3cc5',
    950: '#000000',
  },
}
SCSS
$custom: #7c3cc5;
$custom-light: #a877d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3cc5",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 268.029,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51082,
    "c": 0.202,
    "h": 300.8
  },
  "luminance": 0.11548
}

Semantic roles & 50–950 ramp

primary
#7C3CC5
secondary
#B0CD90
accent
#DE4A99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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