#7D4DD0#7D4DD0

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

Color values

HEX#7D4DD0
RGBrgb(125, 77, 208)
HSLhsl(262, 58%, 56%)
HSVhsv(262, 63%, 82%)
CMYKcmyk(39.9%, 63%, 0%, 18.4%)
CIE-LABlab(44.55, 48.29, -60.68)
CIE-LCHlch(44.55, 77.55, 308.51°)
OKLaboklab(54.28% 0.0852 -0.1729)
OKLCHoklch(54.28% 0.193 296.2)
XYZxyz(22.4935, 14.2214, 61.2222)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DD0 #A0D04D
analogous
#4D5ED0 #7D4DD0 #BE4DD0
triadic
#7D4DD0 #D07D4D #4DD07D
tetradic
#7D4DD0 #D04D5E #A0D04D #4DD0BE
square
#7D4DD0 #D04D5E #A0D04D #4DD0BE
split-complementary
#7D4DD0 #D0BE4D #5ED04D
monochromatic
#452281 #5E2FB1 #7D4DD0 #A07DDD #C4AEEA

Accessibility & contrast

On white

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

On black

3.84
#7D4DD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7D4DD0#FFFFFF#000000##FFFFFF
##7D4DD01.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#686B87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d4dd0;
/* rgb */ color: rgb(125, 77, 208);
/* oklch */ color: oklch(54.3% 0.193 296.2);
Tailwind
colors: {
  custom: {
    50: '#a881df',
    500: '#7d4dd0',
    950: '#000000',
  },
}
SCSS
$custom: #7d4dd0;
$custom-light: #a881df;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4dd0",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 208
  },
  "hsl": {
    "h": 261.985,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54277,
    "c": 0.1928,
    "h": 296.2
  },
  "luminance": 0.14222
}

Semantic roles & 50–950 ramp

primary
#7D4DD0
secondary
#C4D8A1
accent
#E146A9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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