#7C3EC8#7C3EC8

#7C3EC8 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.203 H 299.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7C3EC8
RGBrgb(124, 62, 200)
HSLhsl(267, 56%, 51%)
HSVhsv(267, 69%, 78%)
CMYKcmyk(38%, 69%, 0%, 21.6%)
CIE-LABlab(41.06, 53.71, -61.72)
CIE-LCHlch(41.06, 81.82, 311.03°)
OKLaboklab(51.56% 0.1008 -0.176)
OKLCHoklch(51.56% 0.203 299.8)
XYZxyz(20.4575, 11.9003, 55.8516)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3EC8 #8AC83E
analogous
#3E45C8 #7C3EC8 #C13EC8
triadic
#7C3EC8 #C87C3E #3EC87C
tetradic
#7C3EC8 #C83E45 #8AC83E #3EC8C1
square
#7C3EC8 #C83E45 #8AC83E #3EC8C1
split-complementary
#7C3EC8 #C8C13E #45C83E
monochromatic
#421F6D #5F2D9C #7C3EC8 #9C6ED6 #BD9DE3

Accessibility & contrast

On white

6.21
#7C3EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7C3EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3EC8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3EC8#FFFFFF#000000##FFFFFF
##7C3EC81.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#6B5F7E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7c3ec8;
/* rgb */ color: rgb(124, 62, 200);
/* oklch */ color: oklch(51.6% 0.203 299.8);
Tailwind
colors: {
  custom: {
    50: '#a878da',
    500: '#7c3ec8',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ec8;
$custom-light: #a878da;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ec8",
  "rgb": {
    "r": 124,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 266.957,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51558,
    "c": 0.20283,
    "h": 299.8
  },
  "luminance": 0.119
}

Semantic roles & 50–950 ramp

primary
#7C3EC8
secondary
#B4CF92
accent
#DF499C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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