#7E4DDC#7E4DDC

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

Color values

HEX#7E4DDC
RGBrgb(126, 77, 220)
HSLhsl(261, 67%, 58%)
HSVhsv(261, 65%, 86%)
CMYKcmyk(42.7%, 65%, 0%, 13.7%)
CIE-LABlab(45.51, 51.65, -65.98)
CIE-LCHlch(45.51, 83.80, 308.05°)
OKLaboklab(55.27% 0.0854 -0.1885)
OKLCHoklch(55.27% 0.207 294.4)
XYZxyz(24.1729, 14.9101, 69.3006)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4DDC #ABDC4D
analogous
#4D64DC #7E4DDC #C54DDC
triadic
#7E4DDC #DC7E4D #4DDC7E
tetradic
#7E4DDC #DC4D64 #ABDC4D #4DDCC5
square
#7E4DDC #DC4D64 #ABDC4D #4DDCC5
split-complementary
#7E4DDC #DCC54D #64DC4D
monochromatic
#451D92 #5D27C5 #7E4DDC #A380E6 #C8B3F0

Accessibility & contrast

On white

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

On black

3.98
#7E4DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E4DDC#FFFFFF#000000##FFFFFF
##7E4DDC1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#646F8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e4ddc;
/* rgb */ color: rgb(126, 77, 220);
/* oklch */ color: oklch(55.3% 0.207 294.4);
Tailwind
colors: {
  custom: {
    50: '#aa82e8',
    500: '#7e4ddc',
    950: '#000000',
  },
}
SCSS
$custom: #7e4ddc;
$custom-light: #aa82e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4ddc",
  "rgb": {
    "r": 126,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 260.559,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55267,
    "c": 0.20696,
    "h": 294.4
  },
  "luminance": 0.14911
}

Semantic roles & 50–950 ramp

primary
#7E4DDC
secondary
#CBDFA6
accent
#EA3EAF
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E4DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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