#7D4DDF#7D4DDF

#7D4DDF is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.210 H 293.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7D4DDF
RGBrgb(125, 77, 223)
HSLhsl(260, 70%, 59%)
HSVhsv(260, 65%, 87%)
CMYKcmyk(43.9%, 65.5%, 0%, 12.5%)
CIE-LABlab(45.63, 52.26, -67.51)
CIE-LCHlch(45.63, 85.37, 307.74°)
OKLaboklab(55.4% 0.0837 -0.193)
OKLCHoklch(55.4% 0.21 293.4)
XYZxyz(24.4270, 14.9947, 71.4050)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DDF #AFDF4D
analogous
#4D66DF #7D4DDF #C64DDF
triadic
#7D4DDF #DF7D4D #4DDF7D
tetradic
#7D4DDF #DF4D66 #AFDF4D #4DDFC6
square
#7D4DDF #DF4D66 #AFDF4D #4DDFC6
split-complementary
#7D4DDF #DFC64D #66DF4D
monochromatic
#441B97 #5B24CA #7D4DDF #A381E8 #C9B5F2

Accessibility & contrast

On white

5.25
#7D4DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7D4DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4DDF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DDF#FFFFFF#000000##FFFFFF
##7D4DDF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#61708F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d4ddf;
/* rgb */ color: rgb(125, 77, 223);
/* oklch */ color: oklch(55.4% 0.210 293.4);
Tailwind
colors: {
  custom: {
    50: '#aa82ea',
    500: '#7d4ddf',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ddf;
$custom-light: #aa82ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ddf",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 259.726,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55396,
    "c": 0.21039,
    "h": 293.4
  },
  "luminance": 0.14995
}

Semantic roles & 50–950 ramp

primary
#7D4DDF
secondary
#CEE1A7
accent
#EC3BB2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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