#7E4DD9#7E4DD9

#7E4DD9 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.0% C 0.203 H 294.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7E4DD9
RGBrgb(126, 77, 217)
HSLhsl(261, 65%, 58%)
HSVhsv(261, 65%, 85%)
CMYKcmyk(41.9%, 64.5%, 0%, 14.9%)
CIE-LABlab(45.29, 50.86, -64.63)
CIE-LCHlch(45.29, 82.24, 308.20°)
OKLaboklab(55.04% 0.0857 -0.1845)
OKLCHoklch(55.04% 0.203 294.9)
XYZxyz(23.7791, 14.7526, 67.2269)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4DD9 #A8D94D
analogous
#4D62D9 #7E4DD9 #C44DD9
triadic
#7E4DD9 #D97E4D #4DD97E
tetradic
#7E4DD9 #D94D62 #A8D94D #4DD9C4
square
#7E4DD9 #D94D62 #A8D94D #4DD9C4
split-complementary
#7E4DD9 #D9C44D #62D94D
monochromatic
#451E8D #5E29C0 #7E4DD9 #A37FE4 #C7B2EF

Accessibility & contrast

On white

5.32
#7E4DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7E4DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4DD9
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4DD9#FFFFFF#000000##FFFFFF
##7E4DD91.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#666E8C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e4dd9;
/* rgb */ color: rgb(126, 77, 217);
/* oklch */ color: oklch(55.0% 0.203 294.9);
Tailwind
colors: {
  custom: {
    50: '#aa82e6',
    500: '#7e4dd9',
    950: '#000000',
  },
}
SCSS
$custom: #7e4dd9;
$custom-light: #aa82e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4dd9",
  "rgb": {
    "r": 126,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 261,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55042,
    "c": 0.20346,
    "h": 294.9
  },
  "luminance": 0.14753
}

Semantic roles & 50–950 ramp

primary
#7E4DD9
secondary
#C9DDA5
accent
#E840AD
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E4DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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