#7C46AE#7C46AE

#7C46AE is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.8% C 0.162 H 305.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7C46AE
RGBrgb(124, 70, 174)
HSLhsl(271, 43%, 48%)
HSVhsv(271, 60%, 68%)
CMYKcmyk(28.7%, 59.8%, 0%, 31.8%)
CIE-LABlab(40.77, 43.18, -46.95)
CIE-LCHlch(40.77, 63.78, 312.61°)
OKLaboklab(50.78% 0.0938 -0.1326)
OKLCHoklch(50.78% 0.162 305.3)
XYZxyz(18.1407, 11.7215, 41.3430)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C46AE #78AE46
analogous
#4846AE #7C46AE #AE46AC
triadic
#7C46AE #AE7C46 #46AE7C
tetradic
#7C46AE #AE4846 #78AE46 #46ACAE
square
#7C46AE #AE4846 #78AE46 #46ACAE
split-complementary
#7C46AE #ACAE46 #46AE48
monochromatic
#3E2357 #5D3482 #7C46AE #9A6DC4 #B899D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C46AE#FFFFFF#000000##FFFFFF
##7C46AE1.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)
#175FB1
Deuteranopia (green-blind)
#3160AC
Tritanopia (blue-blind)
#735B73
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c46ae;
/* rgb */ color: rgb(124, 70, 174);
/* oklch */ color: oklch(50.8% 0.162 305.3);
Tailwind
colors: {
  custom: {
    50: '#a57cc7',
    500: '#7c46ae',
    950: '#000000',
  },
}
SCSS
$custom: #7c46ae;
$custom-light: #a57cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c46ae",
  "rgb": {
    "r": 124,
    "g": 70,
    "b": 174
  },
  "hsl": {
    "h": 271.154,
    "s": 42.623,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50783,
    "c": 0.16245,
    "h": 305.3
  },
  "luminance": 0.11721
}

Semantic roles & 50–950 ramp

primary
#7C46AE
secondary
#A7C28E
accent
#D25591
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7C46AE

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

Preview Lab → · Contrast checker → · Palette generator →

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