#7C3CCA#7C3CCA

#7C3CCA is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.207 H 299.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7C3CCA
RGBrgb(124, 60, 202)
HSLhsl(267, 57%, 51%)
HSVhsv(267, 70%, 79%)
CMYKcmyk(38.6%, 70.3%, 0%, 20.8%)
CIE-LABlab(40.87, 55.16, -63.20)
CIE-LCHlch(40.87, 83.88, 311.12°)
OKLaboklab(51.47% 0.1025 -0.1803)
OKLCHoklch(51.47% 0.207 299.6)
XYZxyz(20.5860, 11.7808, 57.0550)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CCA #8ACA3C
analogous
#3C43CA #7C3CCA #C33CCA
triadic
#7C3CCA #CA7C3C #3CCA7C
tetradic
#7C3CCA #CA3C43 #8ACA3C #3CCAC3
square
#7C3CCA #CA3C43 #8ACA3C #3CCAC3
split-complementary
#7C3CCA #CAC33C #43CA3C
monochromatic
#421E6E #5F2B9E #7C3CCA #9C6CD7 #BD9CE4

Accessibility & contrast

On white

6.26
#7C3CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C3CCA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CCA#FFFFFF#000000##FFFFFF
##7C3CCA1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#6A5F7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c3cca;
/* rgb */ color: rgb(124, 60, 202);
/* oklch */ color: oklch(51.5% 0.207 299.6);
Tailwind
colors: {
  custom: {
    50: '#a877db',
    500: '#7c3cca',
    950: '#000000',
  },
}
SCSS
$custom: #7c3cca;
$custom-light: #a877db;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3cca",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 202
  },
  "hsl": {
    "h": 267.042,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51469,
    "c": 0.20741,
    "h": 299.6
  },
  "luminance": 0.11781
}

Semantic roles & 50–950 ramp

primary
#7C3CCA
secondary
#B4D092
accent
#E1479B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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