#7D4AC3#7D4AC3

#7D4AC3 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.182 H 299.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7D4AC3
RGBrgb(125, 74, 195)
HSLhsl(265, 50%, 53%)
HSVhsv(265, 62%, 76%)
CMYKcmyk(35.9%, 62.1%, 0%, 23.5%)
CIE-LABlab(43.06, 46.52, -55.57)
CIE-LCHlch(43.06, 72.47, 309.93°)
OKLaboklab(52.91% 0.0896 -0.1579)
OKLCHoklch(52.91% 0.182 299.6)
XYZxyz(20.7541, 13.1975, 53.0731)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4AC3 #90C34A
analogous
#4A54C3 #7D4AC3 #B94AC3
triadic
#7D4AC3 #C37D4A #4AC37D
tetradic
#7D4AC3 #C34A54 #90C34A #4AC3B9
square
#7D4AC3 #C34A54 #90C34A #4AC3B9
split-complementary
#7D4AC3 #C3B94A #54C34A
monochromatic
#44246E #60349C #7D4AC3 #9E78D2 #BFA6E1

Accessibility & contrast

On white

5.77
#7D4AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7D4AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4AC3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4AC3#FFFFFF#000000##FFFFFF
##7D4AC31.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#1965C0
Tritanopia (blue-blind)
#6E6480
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d4ac3;
/* rgb */ color: rgb(125, 74, 195);
/* oklch */ color: oklch(52.9% 0.182 299.6);
Tailwind
colors: {
  custom: {
    50: '#a77fd6',
    500: '#7d4ac3',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ac3;
$custom-light: #a77fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ac3",
  "rgb": {
    "r": 125,
    "g": 74,
    "b": 195
  },
  "hsl": {
    "h": 265.289,
    "s": 50.207,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52913,
    "c": 0.18155,
    "h": 299.6
  },
  "luminance": 0.13198
}

Semantic roles & 50–950 ramp

primary
#7D4AC3
secondary
#B9CF9A
accent
#DA4E9F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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