#7D4CD3#7D4CD3

#7D4CD3 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.4% C 0.198 H 295.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7D4CD3
RGBrgb(125, 76, 211)
HSLhsl(262, 61%, 56%)
HSVhsv(262, 64%, 83%)
CMYKcmyk(40.8%, 64%, 0%, 17.3%)
CIE-LABlab(44.56, 49.61, -62.38)
CIE-LCHlch(44.56, 79.70, 308.49°)
OKLaboklab(54.35% 0.0861 -0.1779)
OKLCHoklch(54.35% 0.198 295.8)
XYZxyz(22.7967, 14.2315, 63.1613)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CD3 #A2D34C
analogous
#4C5FD3 #7D4CD3 #C14CD3
triadic
#7D4CD3 #D37D4C #4CD37D
tetradic
#7D4CD3 #D34C5F #A2D34C #4CD3C1
square
#7D4CD3 #D34C5F #A2D34C #4CD3C1
split-complementary
#7D4CD3 #D3C14C #5FD34C
monochromatic
#452084 #5E2DB5 #7D4CD3 #A17DDF #C4AEEB

Accessibility & contrast

On white

5.46
#7D4CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7D4CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CD3
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CD3#FFFFFF#000000##FFFFFF
##7D4CD31.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#676B89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d4cd3;
/* rgb */ color: rgb(125, 76, 211);
/* oklch */ color: oklch(54.4% 0.198 295.8);
Tailwind
colors: {
  custom: {
    50: '#a981e1',
    500: '#7d4cd3',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cd3;
$custom-light: #a981e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cd3",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 261.778,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54354,
    "c": 0.19766,
    "h": 295.8
  },
  "luminance": 0.14232
}

Semantic roles & 50–950 ramp

primary
#7D4CD3
secondary
#C5D9A2
accent
#E444AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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