#7D4BC4#7D4BC4

#7D4BC4 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.181 H 299.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7D4BC4
RGBrgb(125, 75, 196)
HSLhsl(265, 51%, 53%)
HSVhsv(265, 62%, 77%)
CMYKcmyk(36.2%, 61.7%, 0%, 23.1%)
CIE-LABlab(43.33, 46.24, -55.72)
CIE-LCHlch(43.33, 72.41, 309.69°)
OKLaboklab(53.13% 0.0883 -0.1584)
OKLCHoklch(53.13% 0.181 299.2)
XYZxyz(20.9349, 13.3774, 53.6930)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BC4 #92C44B
analogous
#4B55C4 #7D4BC4 #B94BC4
triadic
#7D4BC4 #C47D4B #4BC47D
tetradic
#7D4BC4 #C44B55 #92C44B #4BC4B9
square
#7D4BC4 #C44B55 #92C44B #4BC4B9
split-complementary
#7D4BC4 #C4B94B #55C44B
monochromatic
#442570 #60349E #7D4BC4 #9E79D3 #C0A7E2

Accessibility & contrast

On white

5.71
#7D4BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7D4BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BC4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BC4#FFFFFF#000000##FFFFFF
##7D4BC41.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#1A65C1
Tritanopia (blue-blind)
#6D6580
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d4bc4;
/* rgb */ color: rgb(125, 75, 196);
/* oklch */ color: oklch(53.1% 0.181 299.2);
Tailwind
colors: {
  custom: {
    50: '#a780d7',
    500: '#7d4bc4',
    950: '#000000',
  },
}
SCSS
$custom: #7d4bc4;
$custom-light: #a780d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4bc4",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 264.793,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53129,
    "c": 0.18133,
    "h": 299.2
  },
  "luminance": 0.13378
}

Semantic roles & 50–950 ramp

primary
#7D4BC4
secondary
#BACF9B
accent
#DA4EA0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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