#7D4ABC#7D4ABC

#7D4ABC is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.173 H 301.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7D4ABC
RGBrgb(125, 74, 188)
HSLhsl(267, 46%, 51%)
HSVhsv(267, 61%, 74%)
CMYKcmyk(33.5%, 60.6%, 0%, 26.3%)
CIE-LABlab(42.59, 44.74, -52.24)
CIE-LCHlch(42.59, 68.78, 310.58°)
OKLaboklab(52.43% 0.0899 -0.1481)
OKLCHoklch(52.43% 0.173 301.2)
XYZxyz(19.9812, 12.8883, 49.0022)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4ABC #89BC4A
analogous
#4A50BC #7D4ABC #B64ABC
triadic
#7D4ABC #BC7D4A #4ABC7D
tetradic
#7D4ABC #BC4A50 #89BC4A #4ABCB6
square
#7D4ABC #BC4A50 #89BC4A #4ABCB6
split-complementary
#7D4ABC #BCB64A #50BC4A
monochromatic
#422666 #603693 #7D4ABC #9D77CD #BDA3DD

Accessibility & contrast

On white

5.87
#7D4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7D4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4ABC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4ABC#FFFFFF#000000##FFFFFF
##7D4ABC1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0164C0
Deuteranopia (green-blind)
#2664B9
Tritanopia (blue-blind)
#70627C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d4abc;
/* rgb */ color: rgb(125, 74, 188);
/* oklch */ color: oklch(52.4% 0.173 301.2);
Tailwind
colors: {
  custom: {
    50: '#a77fd1',
    500: '#7d4abc',
    950: '#000000',
  },
}
SCSS
$custom: #7d4abc;
$custom-light: #a77fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4abc",
  "rgb": {
    "r": 125,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 266.842,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52427,
    "c": 0.17327,
    "h": 301.2
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#7D4ABC
secondary
#B4CA98
accent
#D6529B
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7D4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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