#7C3ECA#7C3ECA

#7C3ECA is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.7% C 0.205 H 299.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7C3ECA
RGBrgb(124, 62, 202)
HSLhsl(267, 57%, 52%)
HSVhsv(267, 69%, 79%)
CMYKcmyk(38.6%, 69.3%, 0%, 20.8%)
CIE-LABlab(41.21, 54.21, -62.64)
CIE-LCHlch(41.21, 82.84, 310.87°)
OKLaboklab(51.71% 0.1005 -0.1787)
OKLCHoklch(51.71% 0.205 299.4)
XYZxyz(20.6928, 11.9944, 57.0906)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3ECA #8CCA3E
analogous
#3E46CA #7C3ECA #C23ECA
triadic
#7C3ECA #CA7C3E #3ECA7C
tetradic
#7C3ECA #CA3E46 #8CCA3E #3ECAC2
square
#7C3ECA #CA3E46 #8CCA3E #3ECAC2
split-complementary
#7C3ECA #CAC23E #46CA3E
monochromatic
#421F6F #5F2C9F #7C3ECA #9D6ED7 #BD9EE4

Accessibility & contrast

On white

6.18
#7C3ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7C3ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3ECA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3ECA#FFFFFF#000000##FFFFFF
##7C3ECA1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#6A607F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7c3eca;
/* rgb */ color: rgb(124, 62, 202);
/* oklch */ color: oklch(51.7% 0.205 299.4);
Tailwind
colors: {
  custom: {
    50: '#a878db',
    500: '#7c3eca',
    950: '#000000',
  },
}
SCSS
$custom: #7c3eca;
$custom-light: #a878db;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3eca",
  "rgb": {
    "r": 124,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 266.571,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51712,
    "c": 0.20502,
    "h": 299.4
  },
  "luminance": 0.11995
}

Semantic roles & 50–950 ramp

primary
#7C3ECA
secondary
#B5D193
accent
#E0489D
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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