#7D4ACB#7D4ACB

#7D4ACB is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.191 H 297.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7D4ACB
RGBrgb(125, 74, 203)
HSLhsl(264, 55%, 54%)
HSVhsv(264, 64%, 80%)
CMYKcmyk(38.4%, 63.5%, 0%, 20.4%)
CIE-LABlab(43.61, 48.58, -59.32)
CIE-LCHlch(43.61, 76.67, 309.32°)
OKLaboklab(53.49% 0.089 -0.1689)
OKLCHoklch(53.49% 0.191 297.8)
XYZxyz(21.6830, 13.5690, 57.9650)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4ACB #98CB4A
analogous
#4A58CB #7D4ACB #BE4ACB
triadic
#7D4ACB #CB7D4A #4ACB7D
tetradic
#7D4ACB #CB4A58 #98CB4A #4ACBBE
square
#7D4ACB #CB4A58 #98CB4A #4ACBBE
split-complementary
#7D4ACB #CBBE4A #58CB4A
monochromatic
#442378 #5F30A8 #7D4ACB #9F7AD9 #C1A9E6

Accessibility & contrast

On white

5.65
#7D4ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7D4ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4ACB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4ACB#FFFFFF#000000##FFFFFF
##7D4ACB1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#6A6784
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d4acb;
/* rgb */ color: rgb(125, 74, 203);
/* oklch */ color: oklch(53.5% 0.191 297.8);
Tailwind
colors: {
  custom: {
    50: '#a87fdc',
    500: '#7d4acb',
    950: '#000000',
  },
}
SCSS
$custom: #7d4acb;
$custom-light: #a87fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4acb",
  "rgb": {
    "r": 125,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 263.721,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53486,
    "c": 0.19094,
    "h": 297.8
  },
  "luminance": 0.13569
}

Semantic roles & 50–950 ramp

primary
#7D4ACB
secondary
#BED49D
accent
#DF49A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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