#7D4DE2#7D4DE2

#7D4DE2 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.6% C 0.214 H 292.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7D4DE2
RGBrgb(125, 77, 226)
HSLhsl(259, 72%, 59%)
HSVhsv(259, 66%, 89%)
CMYKcmyk(44.7%, 65.9%, 0%, 11.4%)
CIE-LABlab(45.85, 53.06, -68.85)
CIE-LCHlch(45.85, 86.92, 307.62°)
OKLaboklab(55.63% 0.0833 -0.197)
OKLCHoklch(55.63% 0.214 292.9)
XYZxyz(24.8350, 15.1580, 73.5540)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DE2 #B2E24D
analogous
#4D68E2 #7D4DE2 #C84DE2
triadic
#7D4DE2 #E27D4D #4DE27D
tetradic
#7D4DE2 #E24D68 #B2E24D #4DE2C8
square
#7D4DE2 #E24D68 #B2E24D #4DE2C8
split-complementary
#7D4DE2 #E2C84D #68E24D
monochromatic
#43199B #5A22D0 #7D4DE2 #A382EB #CAB6F3

Accessibility & contrast

On white

5.21
#7D4DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7D4DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4DE2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DE2#FFFFFF#000000##FFFFFF
##7D4DE21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#607191
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d4de2;
/* rgb */ color: rgb(125, 77, 226);
/* oklch */ color: oklch(55.6% 0.214 292.9);
Tailwind
colors: {
  custom: {
    50: '#aa82ec',
    500: '#7d4de2',
    950: '#000000',
  },
}
SCSS
$custom: #7d4de2;
$custom-light: #aa82ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4de2",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 259.329,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55626,
    "c": 0.21387,
    "h": 292.9
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#7D4DE2
secondary
#D0E2A8
accent
#EF39B4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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