#7D4ADB#7D4ADB

#7D4ADB is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.209 H 294.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7D4ADB
RGBrgb(125, 74, 219)
HSLhsl(261, 67%, 57%)
HSVhsv(261, 66%, 86%)
CMYKcmyk(42.9%, 66.2%, 0%, 14.1%)
CIE-LABlab(44.76, 52.76, -66.64)
CIE-LCHlch(44.76, 84.99, 308.37°)
OKLaboklab(54.68% 0.0872 -0.1904)
OKLCHoklch(54.68% 0.209 294.6)
XYZxyz(23.6890, 14.3714, 68.5299)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4ADB #A8DB4A
analogous
#4A60DB #7D4ADB #C54ADB
triadic
#7D4ADB #DB7D4A #4ADB7D
tetradic
#7D4ADB #DB4A60 #A8DB4A #4ADBC5
square
#7D4ADB #DB4A60 #A8DB4A #4ADBC5
split-complementary
#7D4ADB #DBC54A #60DB4A
monochromatic
#441C8E #5D26C1 #7D4ADB #A27DE5 #C6B0EF

Accessibility & contrast

On white

5.42
#7D4ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7D4ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4ADB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4ADB#FFFFFF#000000##FFFFFF
##7D4ADB1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#636D8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d4adb;
/* rgb */ color: rgb(125, 74, 219);
/* oklch */ color: oklch(54.7% 0.209 294.6);
Tailwind
colors: {
  custom: {
    50: '#aa80e7',
    500: '#7d4adb',
    950: '#000000',
  },
}
SCSS
$custom: #7d4adb;
$custom-light: #aa80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4adb",
  "rgb": {
    "r": 125,
    "g": 74,
    "b": 219
  },
  "hsl": {
    "h": 261.103,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5468,
    "c": 0.20948,
    "h": 294.6
  },
  "luminance": 0.14372
}

Semantic roles & 50–950 ramp

primary
#7D4ADB
secondary
#C9DEA3
accent
#EA3EAD
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D4ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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