#7D4DEC#7D4DEC

#7D4DEC is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.225 H 291.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7D4DEC
RGBrgb(125, 77, 236)
HSLhsl(258, 81%, 61%)
HSVhsv(258, 67%, 93%)
CMYKcmyk(47%, 67.4%, 0%, 7.5%)
CIE-LABlab(46.61, 55.74, -73.27)
CIE-LCHlch(46.61, 92.06, 307.26°)
OKLaboklab(56.41% 0.0819 -0.2099)
OKLCHoklch(56.41% 0.225 291.3)
XYZxyz(26.2474, 15.7229, 80.9925)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DEC #BCEC4D
analogous
#4D6DEC #7D4DEC #CD4DEC
triadic
#7D4DEC #EC7D4D #4DEC7D
tetradic
#7D4DEC #EC4D6D #BCEC4D #4DECCD
square
#7D4DEC #EC4D6D #BCEC4D #4DECCD
split-complementary
#7D4DEC #ECCD4D #6DEC4D
monochromatic
#4112AC #5618E4 #7D4DEC #A584F2 #CEBCF8

Accessibility & contrast

On white

5.07
#7D4DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7D4DEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4DEC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DEC#FFFFFF#000000##FFFFFF
##7D4DEC1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F1
Deuteranopia (green-blind)
#006BE9
Tritanopia (blue-blind)
#5A7596
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d4dec;
/* rgb */ color: rgb(125, 77, 236);
/* oklch */ color: oklch(56.4% 0.225 291.3);
Tailwind
colors: {
  custom: {
    50: '#ab82f3',
    500: '#7d4dec',
    950: '#000000',
  },
}
SCSS
$custom: #7d4dec;
$custom-light: #ab82f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4dec",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 258.113,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56407,
    "c": 0.22536,
    "h": 291.3
  },
  "luminance": 0.15724
}

Semantic roles & 50–950 ramp

primary
#7D4DEC
secondary
#D6E8AD
accent
#DD089D
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D4DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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