#7C3ACA#7C3ACA

#7C3ACA is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.210 H 299.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7C3ACA
RGBrgb(124, 58, 202)
HSLhsl(268, 58%, 51%)
HSVhsv(268, 71%, 79%)
CMYKcmyk(38.6%, 71.3%, 0%, 20.8%)
CIE-LABlab(40.53, 56.09, -63.74)
CIE-LCHlch(40.53, 84.91, 311.35°)
OKLaboklab(51.23% 0.1044 -0.1819)
OKLCHoklch(51.23% 0.21 299.9)
XYZxyz(20.4833, 11.5753, 57.0208)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3ACA #88CA3A
analogous
#3A40CA #7C3ACA #C43ACA
triadic
#7C3ACA #CA7C3A #3ACA7C
tetradic
#7C3ACA #CA3A40 #88CA3A #3ACAC4
square
#7C3ACA #CA3A40 #88CA3A #3ACAC4
split-complementary
#7C3ACA #CAC43A #40CA3A
monochromatic
#411D6C #5F2A9D #7C3ACA #9C6AD7 #BC9AE4

Accessibility & contrast

On white

6.33
#7C3ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7C3ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3ACA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3ACA#FFFFFF#000000##FFFFFF
##7C3ACA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#6A5E7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c3aca;
/* rgb */ color: rgb(124, 58, 202);
/* oklch */ color: oklch(51.2% 0.210 299.9);
Tailwind
colors: {
  custom: {
    50: '#a876db',
    500: '#7c3aca',
    950: '#000000',
  },
}
SCSS
$custom: #7c3aca;
$custom-light: #a876db;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3aca",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 202
  },
  "hsl": {
    "h": 267.5,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51233,
    "c": 0.20975,
    "h": 299.9
  },
  "luminance": 0.11575
}

Semantic roles & 50–950 ramp

primary
#7C3ACA
secondary
#B3D090
accent
#E1479A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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