#7D4CCF#7D4CCF

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

Color values

HEX#7D4CCF
RGBrgb(125, 76, 207)
HSLhsl(262, 58%, 55%)
HSVhsv(262, 63%, 81%)
CMYKcmyk(39.6%, 63.3%, 0%, 18.8%)
CIE-LABlab(44.28, 48.56, -60.54)
CIE-LCHlch(44.28, 77.61, 308.73°)
OKLaboklab(54.06% 0.0864 -0.1725)
OKLCHoklch(54.06% 0.193 296.6)
XYZxyz(22.3015, 14.0334, 60.5531)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CCF #9ECF4C
analogous
#4C5CCF #7D4CCF #BF4CCF
triadic
#7D4CCF #CF7D4C #4CCF7D
tetradic
#7D4CCF #CF4C5C #9ECF4C #4CCFBF
square
#7D4CCF #CF4C5C #9ECF4C #4CCFBF
split-complementary
#7D4CCF #CFBF4C #5CCF4C
monochromatic
#45227F #5F2FAF #7D4CCF #A07CDC #C3ADE9

Accessibility & contrast

On white

5.52
#7D4CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7D4CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CCF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CCF#FFFFFF#000000##FFFFFF
##7D4CCF1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d4ccf;
/* rgb */ color: rgb(125, 76, 207);
/* oklch */ color: oklch(54.1% 0.193 296.6);
Tailwind
colors: {
  custom: {
    50: '#a881de',
    500: '#7d4ccf',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ccf;
$custom-light: #a881de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ccf",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 262.443,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54061,
    "c": 0.19296,
    "h": 296.6
  },
  "luminance": 0.14034
}

Semantic roles & 50–950 ramp

primary
#7D4CCF
secondary
#C2D7A0
accent
#E147A7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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