#7D4DD6#7D4DD6

#7D4DD6 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.7% C 0.200 H 295.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7D4DD6
RGBrgb(125, 77, 214)
HSLhsl(261, 63%, 57%)
HSVhsv(261, 64%, 84%)
CMYKcmyk(41.6%, 64%, 0%, 16.1%)
CIE-LABlab(44.97, 49.87, -63.44)
CIE-LCHlch(44.97, 80.69, 308.17°)
OKLaboklab(54.72% 0.0847 -0.181)
OKLCHoklch(54.72% 0.2 295.1)
XYZxyz(23.2457, 14.5222, 65.1836)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DD6 #A6D64D
analogous
#4D62D6 #7D4DD6 #C24DD6
triadic
#7D4DD6 #D67D4D #4DD67D
tetradic
#7D4DD6 #D64D62 #A6D64D #4DD6C2
square
#7D4DD6 #D64D62 #A6D64D #4DD6C2
split-complementary
#7D4DD6 #D6C24D #62D64D
monochromatic
#452089 #5D2BBB #7D4DD6 #A17FE1 #C6B0ED

Accessibility & contrast

On white

5.38
#7D4DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7D4DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4DD6
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DD6#FFFFFF#000000##FFFFFF
##7D4DD61.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#666D8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d4dd6;
/* rgb */ color: rgb(125, 77, 214);
/* oklch */ color: oklch(54.7% 0.200 295.1);
Tailwind
colors: {
  custom: {
    50: '#a981e3',
    500: '#7d4dd6',
    950: '#000000',
  },
}
SCSS
$custom: #7d4dd6;
$custom-light: #a981e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4dd6",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 261.022,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54718,
    "c": 0.19988,
    "h": 295.1
  },
  "luminance": 0.14523
}

Semantic roles & 50–950 ramp

primary
#7D4DD6
secondary
#C8DBA4
accent
#E642AC
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7D4DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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