#7D46AE#7D46AE

#7D46AE is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.9% C 0.163 H 305.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7D46AE
RGBrgb(125, 70, 174)
HSLhsl(272, 43%, 48%)
HSVhsv(272, 60%, 68%)
CMYKcmyk(28.2%, 59.8%, 0%, 31.8%)
CIE-LABlab(40.89, 43.43, -46.75)
CIE-LCHlch(40.89, 63.80, 312.89°)
OKLaboklab(50.9% 0.0952 -0.132)
OKLCHoklch(50.9% 0.163 305.8)
XYZxyz(18.2860, 11.7964, 41.3498)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D46AE #77AE46
analogous
#4946AE #7D46AE #AE46AB
triadic
#7D46AE #AE7D46 #46AE7D
tetradic
#7D46AE #AE4946 #77AE46 #46ABAE
square
#7D46AE #AE4946 #77AE46 #46ABAE
split-complementary
#7D46AE #ABAE46 #46AE49
monochromatic
#3E2357 #5E3482 #7D46AE #9B6DC4 #B999D6

Accessibility & contrast

On white

6.25
#7D46AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D46AE
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D46AE#FFFFFF#000000##FFFFFF
##7D46AE1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185FB1
Deuteranopia (green-blind)
#3261AC
Tritanopia (blue-blind)
#755A73
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d46ae;
/* rgb */ color: rgb(125, 70, 174);
/* oklch */ color: oklch(50.9% 0.163 305.8);
Tailwind
colors: {
  custom: {
    50: '#a67cc7',
    500: '#7d46ae',
    950: '#000000',
  },
}
SCSS
$custom: #7d46ae;
$custom-light: #a67cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d46ae",
  "rgb": {
    "r": 125,
    "g": 70,
    "b": 174
  },
  "hsl": {
    "h": 271.731,
    "s": 42.623,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50898,
    "c": 0.16272,
    "h": 305.8
  },
  "luminance": 0.11796
}

Semantic roles & 50–950 ramp

primary
#7D46AE
secondary
#A6C28E
accent
#D25590
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7D46AE

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

Preview Lab → · Contrast checker → · Palette generator →

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