#7D4DCF#7D4DCF

#7D4DCF is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.192 H 296.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7D4DCF
RGBrgb(125, 77, 207)
HSLhsl(262, 58%, 56%)
HSVhsv(262, 63%, 81%)
CMYKcmyk(39.6%, 62.8%, 0%, 18.8%)
CIE-LABlab(44.48, 48.03, -60.22)
CIE-LCHlch(44.48, 77.02, 308.57°)
OKLaboklab(54.2% 0.0853 -0.1716)
OKLCHoklch(54.2% 0.192 296.4)
XYZxyz(22.3709, 14.1723, 60.5763)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DCF #9FCF4D
analogous
#4D5ECF #7D4DCF #BE4DCF
triadic
#7D4DCF #CF7D4D #4DCF7D
tetradic
#7D4DCF #CF4D5E #9FCF4D #4DCFBE
square
#7D4DCF #CF4D5E #9FCF4D #4DCFBE
split-complementary
#7D4DCF #CFBE4D #5ECF4D
monochromatic
#45227F #5F2FAF #7D4DCF #A07DDC #C3ADE9

Accessibility & contrast

On white

5.48
#7D4DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7D4DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4DCF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DCF#FFFFFF#000000##FFFFFF
##7D4DCF1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#696A87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d4dcf;
/* rgb */ color: rgb(125, 77, 207);
/* oklch */ color: oklch(54.2% 0.192 296.4);
Tailwind
colors: {
  custom: {
    50: '#a881de',
    500: '#7d4dcf',
    950: '#000000',
  },
}
SCSS
$custom: #7d4dcf;
$custom-light: #a881de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4dcf",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 262.154,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54204,
    "c": 0.19162,
    "h": 296.4
  },
  "luminance": 0.14173
}

Semantic roles & 50–950 ramp

primary
#7D4DCF
secondary
#C3D7A1
accent
#E147A8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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