#7D4CDE#7D4CDE

#7D4CDE is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.2% C 0.210 H 293.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7D4CDE
RGBrgb(125, 76, 222)
HSLhsl(260, 69%, 58%)
HSVhsv(260, 66%, 87%)
CMYKcmyk(43.7%, 65.8%, 0%, 12.9%)
CIE-LABlab(45.36, 52.51, -67.37)
CIE-LCHlch(45.36, 85.42, 307.94°)
OKLaboklab(55.18% 0.0848 -0.1926)
OKLCHoklch(55.18% 0.21 293.8)
XYZxyz(24.2231, 14.8021, 70.6739)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CDE #ADDE4C
analogous
#4C64DE #7D4CDE #C64CDE
triadic
#7D4CDE #DE7D4C #4CDE7D
tetradic
#7D4CDE #DE4C64 #ADDE4C #4CDEC6
square
#7D4CDE #DE4C64 #ADDE4C #4CDEC6
split-complementary
#7D4CDE #DEC64C #64DE4C
monochromatic
#441B94 #5C25C8 #7D4CDE #A380E8 #C8B3F1

Accessibility & contrast

On white

5.30
#7D4CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7D4CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CDE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CDE#FFFFFF#000000##FFFFFF
##7D4CDE1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0069DB
Tritanopia (blue-blind)
#626F8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d4cde;
/* rgb */ color: rgb(125, 76, 222);
/* oklch */ color: oklch(55.2% 0.210 293.8);
Tailwind
colors: {
  custom: {
    50: '#aa81e9',
    500: '#7d4cde',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cde;
$custom-light: #aa81e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cde",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 260.137,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55182,
    "c": 0.21047,
    "h": 293.8
  },
  "luminance": 0.14803
}

Semantic roles & 50–950 ramp

primary
#7D4CDE
secondary
#CCE0A6
accent
#EC3CB1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D4CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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