#7D4DDE#7D4DDE

#7D4DDE is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.3% C 0.209 H 293.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7D4DDE
RGBrgb(125, 77, 222)
HSLhsl(260, 69%, 59%)
HSVhsv(260, 65%, 87%)
CMYKcmyk(43.7%, 65.3%, 0%, 12.9%)
CIE-LABlab(45.55, 51.99, -67.06)
CIE-LCHlch(45.55, 84.85, 307.79°)
OKLaboklab(55.32% 0.0838 -0.1917)
OKLCHoklch(55.32% 0.209 293.6)
XYZxyz(24.2926, 14.9410, 70.6970)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DDE #AEDE4D
analogous
#4D65DE #7D4DDE #C54DDE
triadic
#7D4DDE #DE7D4D #4DDE7D
tetradic
#7D4DDE #DE4D65 #AEDE4D #4DDEC5
square
#7D4DDE #DE4D65 #AEDE4D #4DDEC5
split-complementary
#7D4DDE #DEC54D #65DE4D
monochromatic
#441C95 #5B25C9 #7D4DDE #A381E8 #C8B4F1

Accessibility & contrast

On white

5.27
#7D4DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7D4DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4DDE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DDE#FFFFFF#000000##FFFFFF
##7D4DDE1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0069DB
Tritanopia (blue-blind)
#62708F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d4dde;
/* rgb */ color: rgb(125, 77, 222);
/* oklch */ color: oklch(55.3% 0.209 293.6);
Tailwind
colors: {
  custom: {
    50: '#aa82e9',
    500: '#7d4dde',
    950: '#000000',
  },
}
SCSS
$custom: #7d4dde;
$custom-light: #aa82e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4dde",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 259.862,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55319,
    "c": 0.20923,
    "h": 293.6
  },
  "luminance": 0.14942
}

Semantic roles & 50–950 ramp

primary
#7D4DDE
secondary
#CDE0A7
accent
#EC3CB2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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