#7E5ADD#7E5ADD

#7E5ADD is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.191 H 291.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7E5ADD
RGBrgb(126, 90, 221)
HSLhsl(256, 66%, 61%)
HSVhsv(256, 59%, 87%)
CMYKcmyk(43%, 59.3%, 0%, 13.3%)
CIE-LABlab(48.22, 44.86, -62.17)
CIE-LCHlch(48.22, 76.66, 305.82°)
OKLaboklab(57.26% 0.0713 -0.1773)
OKLCHoklch(57.26% 0.191 291.9)
XYZxyz(25.3079, 16.9676, 70.3342)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5ADD #B9DD5A
analogous
#5A77DD #7E5ADD #C05ADD
triadic
#7E5ADD #DD7E5A #5ADD7E
tetradic
#7E5ADD #DD5A77 #B9DD5A #5ADDC0
square
#7E5ADD #DD5A77 #B9DD5A #5ADDC0
split-complementary
#7E5ADD #DDC05A #77DD5A
monochromatic
#42209C #582BCF #7E5ADD #A68DE7 #CDBFF2

Accessibility & contrast

On white

4.78
#7E5ADD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7E5ADD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5ADD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5ADD#FFFFFF#000000##FFFFFF
##7E5ADD1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#0070DA
Tritanopia (blue-blind)
#637793
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e5add;
/* rgb */ color: rgb(126, 90, 221);
/* oklch */ color: oklch(57.3% 0.191 291.9);
Tailwind
colors: {
  custom: {
    50: '#a98ae8',
    500: '#7e5add',
    950: '#000000',
  },
}
SCSS
$custom: #7e5add;
$custom-light: #a98ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5add",
  "rgb": {
    "r": 126,
    "g": 90,
    "b": 221
  },
  "hsl": {
    "h": 256.489,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57256,
    "c": 0.19108,
    "h": 291.9
  },
  "luminance": 0.16968
}

Semantic roles & 50–950 ramp

primary
#7E5ADD
secondary
#D5E2B1
accent
#CE189C
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7E5ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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