#7D4CCA#7D4CCA

#7D4CCA is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.187 H 297.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7D4CCA
RGBrgb(125, 76, 202)
HSLhsl(263, 54%, 55%)
HSVhsv(263, 62%, 79%)
CMYKcmyk(38.1%, 62.4%, 0%, 20.8%)
CIE-LABlab(43.93, 47.26, -58.22)
CIE-LCHlch(43.93, 74.98, 309.07°)
OKLaboklab(53.7% 0.0868 -0.1657)
OKLCHoklch(53.7% 0.187 297.6)
XYZxyz(21.6999, 13.7928, 57.3847)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CCA #99CA4C
analogous
#4C5ACA #7D4CCA #BC4CCA
triadic
#7D4CCA #CA7D4C #4CCA7D
tetradic
#7D4CCA #CA4C5A #99CA4C #4CCABC
square
#7D4CCA #CA4C5A #99CA4C #4CCABC
split-complementary
#7D4CCA #CABC4C #5ACA4C
monochromatic
#442478 #5F32A7 #7D4CCA #9F7BD8 #C2AAE6

Accessibility & contrast

On white

5.59
#7D4CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7D4CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CCA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CCA#FFFFFF#000000##FFFFFF
##7D4CCA1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0A66C7
Tritanopia (blue-blind)
#6B6884
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d4cca;
/* rgb */ color: rgb(125, 76, 202);
/* oklch */ color: oklch(53.7% 0.187 297.6);
Tailwind
colors: {
  custom: {
    50: '#a880db',
    500: '#7d4cca',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cca;
$custom-light: #a880db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cca",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 202
  },
  "hsl": {
    "h": 263.333,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.537,
    "c": 0.18706,
    "h": 297.6
  },
  "luminance": 0.13793
}

Semantic roles & 50–950 ramp

primary
#7D4CCA
secondary
#BFD49E
accent
#DE4AA4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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