#7D4ABF#7D4ABF

#7D4ABF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.177 H 300.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7D4ABF
RGBrgb(125, 74, 191)
HSLhsl(266, 48%, 52%)
HSVhsv(266, 61%, 75%)
CMYKcmyk(34.6%, 61.3%, 0%, 25.1%)
CIE-LABlab(42.79, 45.50, -53.68)
CIE-LCHlch(42.79, 70.37, 310.29°)
OKLaboklab(52.63% 0.0898 -0.1524)
OKLCHoklch(52.63% 0.177 300.5)
XYZxyz(20.3079, 13.0190, 50.7231)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4ABF #8CBF4A
analogous
#4A52BF #7D4ABF #B84ABF
triadic
#7D4ABF #BF7D4A #4ABF7D
tetradic
#7D4ABF #BF4A52 #8CBF4A #4ABFB8
square
#7D4ABF #BF4A52 #8CBF4A #4ABFB8
split-complementary
#7D4ABF #BFB84A #52BF4A
monochromatic
#432569 #603597 #7D4ABF #9D77CF #BEA4DF

Accessibility & contrast

On white

5.83
#7D4ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7D4ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4ABF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4ABF#FFFFFF#000000##FFFFFF
##7D4ABF1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2164BC
Tritanopia (blue-blind)
#6F637D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d4abf;
/* rgb */ color: rgb(125, 74, 191);
/* oklch */ color: oklch(52.6% 0.177 300.5);
Tailwind
colors: {
  custom: {
    50: '#a77fd3',
    500: '#7d4abf',
    950: '#000000',
  },
}
SCSS
$custom: #7d4abf;
$custom-light: #a77fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4abf",
  "rgb": {
    "r": 125,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 266.154,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52634,
    "c": 0.17683,
    "h": 300.5
  },
  "luminance": 0.13019
}

Semantic roles & 50–950 ramp

primary
#7D4ABF
secondary
#B6CC99
accent
#D7509D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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