#7D4DCE#7D4DCE

#7D4DCE is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.190 H 296.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7D4DCE
RGBrgb(125, 77, 206)
HSLhsl(262, 57%, 55%)
HSVhsv(262, 63%, 81%)
CMYKcmyk(39.3%, 62.6%, 0%, 19.2%)
CIE-LABlab(44.41, 47.76, -59.75)
CIE-LCHlch(44.41, 76.50, 308.64°)
OKLaboklab(54.13% 0.0854 -0.1702)
OKLCHoklch(54.13% 0.19 296.6)
XYZxyz(22.2490, 14.1236, 59.9345)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DCE #9ECE4D
analogous
#4D5DCE #7D4DCE #BE4DCE
triadic
#7D4DCE #CE7D4D #4DCE7D
tetradic
#7D4DCE #CE4D5D #9ECE4D #4DCEBE
square
#7D4DCE #CE4D5D #9ECE4D #4DCEBE
split-complementary
#7D4DCE #CEBE4D #5DCE4D
monochromatic
#45237E #5F30AE #7D4DCE #A07DDB #C3ADE8

Accessibility & contrast

On white

5.49
#7D4DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7D4DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4DCE
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DCE#FFFFFF#000000##FFFFFF
##7D4DCE1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#696A86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d4dce;
/* rgb */ color: rgb(125, 77, 206);
/* oklch */ color: oklch(54.1% 0.190 296.6);
Tailwind
colors: {
  custom: {
    50: '#a881de',
    500: '#7d4dce',
    950: '#000000',
  },
}
SCSS
$custom: #7d4dce;
$custom-light: #a881de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4dce",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 262.326,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54132,
    "c": 0.19044,
    "h": 296.6
  },
  "luminance": 0.14124
}

Semantic roles & 50–950 ramp

primary
#7D4DCE
secondary
#C2D6A1
accent
#E048A7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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