#7C3CE3#7C3CE3

#7C3CE3 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.5% C 0.234 H 294.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7C3CE3
RGBrgb(124, 60, 227)
HSLhsl(263, 75%, 56%)
HSVhsv(263, 74%, 89%)
CMYKcmyk(45.4%, 73.6%, 0%, 11%)
CIE-LABlab(42.86, 61.41, -74.31)
CIE-LCHlch(42.86, 96.40, 309.57°)
OKLaboklab(53.5% 0.0973 -0.2129)
OKLCHoklch(53.5% 0.234 294.6)
XYZxyz(23.7894, 13.0622, 73.9260)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CE3 #A3E33C
analogous
#3C50E3 #7C3CE3 #D03CE3
triadic
#7C3CE3 #E37C3C #3CE37C
tetradic
#7C3CE3 #E33C50 #A3E33C #3CE3D0
square
#7C3CE3 #E33C50 #A3E33C #3CE3D0
split-complementary
#7C3CE3 #E3D03C #50E33C
monochromatic
#441590 #5D1CC5 #7C3CE3 #A072EB #C4A7F2

Accessibility & contrast

On white

5.81
#7C3CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7C3CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CE3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CE3#FFFFFF#000000##FFFFFF
##7C3CE31.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E8
Deuteranopia (green-blind)
#0062E0
Tritanopia (blue-blind)
#5E688D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7c3ce3;
/* rgb */ color: rgb(124, 60, 227);
/* oklch */ color: oklch(53.5% 0.234 294.6);
Tailwind
colors: {
  custom: {
    50: '#ab78ed',
    500: '#7c3ce3',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ce3;
$custom-light: #ab78ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ce3",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 227
  },
  "hsl": {
    "h": 262.994,
    "s": 74.888,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53496,
    "c": 0.23413,
    "h": 294.6
  },
  "luminance": 0.13063
}

Semantic roles & 50–950 ramp

primary
#7C3CE3
secondary
#C5E09B
accent
#F236AA
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7C3CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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