#7C3EC6#7C3EC6

#7C3EC6 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.4% C 0.201 H 300.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7C3EC6
RGBrgb(124, 62, 198)
HSLhsl(267, 54%, 51%)
HSVhsv(267, 69%, 78%)
CMYKcmyk(37.4%, 68.7%, 0%, 22.4%)
CIE-LABlab(40.91, 53.21, -60.80)
CIE-LCHlch(40.91, 80.80, 311.19°)
OKLaboklab(51.41% 0.1011 -0.1733)
OKLCHoklch(51.41% 0.201 300.3)
XYZxyz(20.2253, 11.8074, 54.6286)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3EC6 #88C63E
analogous
#3E44C6 #7C3EC6 #C03EC6
triadic
#7C3EC6 #C67C3E #3EC67C
tetradic
#7C3EC6 #C63E44 #88C63E #3EC6C0
square
#7C3EC6 #C63E44 #88C63E #3EC6C0
split-complementary
#7C3EC6 #C6C03E #44C63E
monochromatic
#411F6A #5F2D99 #7C3EC6 #9C6DD4 #BC9CE2

Accessibility & contrast

On white

6.25
#7C3EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7C3EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3EC6
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3EC6#FFFFFF#000000##FFFFFF
##7C3EC61.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#6B5E7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c3ec6;
/* rgb */ color: rgb(124, 62, 198);
/* oklch */ color: oklch(51.4% 0.201 300.3);
Tailwind
colors: {
  custom: {
    50: '#a878d8',
    500: '#7c3ec6',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ec6;
$custom-light: #a878d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ec6",
  "rgb": {
    "r": 124,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 267.353,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51405,
    "c": 0.20064,
    "h": 300.3
  },
  "luminance": 0.11808
}

Semantic roles & 50–950 ramp

primary
#7C3EC6
secondary
#B3CE92
accent
#DE4A9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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