#7D4AE3#7D4AE3

#7D4AE3 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.219 H 293.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7D4AE3
RGBrgb(125, 74, 227)
HSLhsl(260, 73%, 59%)
HSVhsv(260, 67%, 89%)
CMYKcmyk(44.9%, 67.4%, 0%, 11%)
CIE-LABlab(45.36, 54.87, -70.21)
CIE-LCHlch(45.36, 89.11, 308.01°)
OKLaboklab(55.3% 0.0861 -0.201)
OKLCHoklch(55.3% 0.219 293.2)
XYZxyz(24.7675, 14.8028, 74.2104)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4AE3 #B0E34A
analogous
#4A64E3 #7D4AE3 #CA4AE3
triadic
#7D4AE3 #E37D4A #4AE37D
tetradic
#7D4AE3 #E34A64 #B0E34A #4AE3CA
square
#7D4AE3 #E34A64 #B0E34A #4AE3CA
split-complementary
#7D4AE3 #E3CA4A #64E34A
monochromatic
#44189B #5B20D0 #7D4AE3 #A37FEB #C9B4F3

Accessibility & contrast

On white

5.30
#7D4AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7D4AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4AE3
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4AE3#FFFFFF#000000##FFFFFF
##7D4AE31.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#5F7091
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d4ae3;
/* rgb */ color: rgb(125, 74, 227);
/* oklch */ color: oklch(55.3% 0.219 293.2);
Tailwind
colors: {
  custom: {
    50: '#aa80ed',
    500: '#7d4ae3',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ae3;
$custom-light: #aa80ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ae3",
  "rgb": {
    "r": 125,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 260,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.553,
    "c": 0.21864,
    "h": 293.2
  },
  "luminance": 0.14804
}

Semantic roles & 50–950 ramp

primary
#7D4AE3
secondary
#CEE2A6
accent
#F038B3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D4AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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