#7C3ACD#7C3ACD

#7C3ACD is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.5% C 0.213 H 299.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7C3ACD
RGBrgb(124, 58, 205)
HSLhsl(267, 60%, 52%)
HSVhsv(267, 72%, 80%)
CMYKcmyk(39.5%, 71.7%, 0%, 19.6%)
CIE-LABlab(40.77, 56.83, -65.10)
CIE-LCHlch(40.77, 86.42, 311.12°)
OKLaboklab(51.47% 0.1039 -0.1859)
OKLCHoklch(51.47% 0.213 299.2)
XYZxyz(20.8419, 11.7187, 58.9096)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3ACD #8BCD3A
analogous
#3A42CD #7C3ACD #C63ACD
triadic
#7C3ACD #CD7C3A #3ACD7C
tetradic
#7C3ACD #CD3A42 #8BCD3A #3ACDC6
square
#7C3ACD #CD3A42 #8BCD3A #3ACDC6
split-complementary
#7C3ACD #CDC63A #42CD3A
monochromatic
#421C70 #5F29A1 #7C3ACD #9C6BD9 #BD9CE6

Accessibility & contrast

On white

6.28
#7C3ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7C3ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3ACD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3ACD#FFFFFF#000000##FFFFFF
##7C3ACD1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#695F80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c3acd;
/* rgb */ color: rgb(124, 58, 205);
/* oklch */ color: oklch(51.5% 0.213 299.2);
Tailwind
colors: {
  custom: {
    50: '#a876dd',
    500: '#7c3acd',
    950: '#000000',
  },
}
SCSS
$custom: #7c3acd;
$custom-light: #a876dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3acd",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 266.939,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5147,
    "c": 0.21294,
    "h": 299.2
  },
  "luminance": 0.11719
}

Semantic roles & 50–950 ramp

primary
#7C3ACD
secondary
#B5D291
accent
#E3459C
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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