#7D4CCE#7D4CCE

#7D4CCE is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.192 H 296.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7D4CCE
RGBrgb(125, 76, 206)
HSLhsl(263, 57%, 55%)
HSVhsv(263, 63%, 81%)
CMYKcmyk(39.3%, 63.1%, 0%, 19.2%)
CIE-LABlab(44.21, 48.30, -60.08)
CIE-LCHlch(44.21, 77.08, 308.80°)
OKLaboklab(53.99% 0.0865 -0.1712)
OKLCHoklch(53.99% 0.192 296.8)
XYZxyz(22.1796, 13.9847, 59.9113)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CCE #9DCE4C
analogous
#4C5CCE #7D4CCE #BE4CCE
triadic
#7D4CCE #CE7D4C #4CCE7D
tetradic
#7D4CCE #CE4C5C #9DCE4C #4CCEBE
square
#7D4CCE #CE4C5C #9DCE4C #4CCEBE
split-complementary
#7D4CCE #CEBE4C #5CCE4C
monochromatic
#45227D #5F2FAD #7D4CCE #A07CDB #C3ACE8

Accessibility & contrast

On white

5.53
#7D4CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7D4CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CCE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CCE#FFFFFF#000000##FFFFFF
##7D4CCE1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#696986
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d4cce;
/* rgb */ color: rgb(125, 76, 206);
/* oklch */ color: oklch(54.0% 0.192 296.8);
Tailwind
colors: {
  custom: {
    50: '#a881de',
    500: '#7d4cce',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cce;
$custom-light: #a881de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cce",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 262.615,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53988,
    "c": 0.19178,
    "h": 296.8
  },
  "luminance": 0.13985
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D4CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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