#7E5CCD#7E5CCD

#7E5CCD is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.5% C 0.168 H 294.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7E5CCD
RGBrgb(126, 92, 205)
HSLhsl(258, 53%, 58%)
HSVhsv(258, 55%, 80%)
CMYKcmyk(38.5%, 55.1%, 0%, 19.6%)
CIE-LABlab(47.62, 39.36, -54.00)
CIE-LCHlch(47.62, 66.82, 306.09°)
OKLaboklab(56.49% 0.0691 -0.1533)
OKLCHoklch(56.49% 0.168 294.3)
XYZxyz(23.4479, 16.4972, 59.6947)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5CCD #ABCD5C
analogous
#5C72CD #7E5CCD #B65CCD
triadic
#7E5CCD #CD7E5C #5CCD7E
tetradic
#7E5CCD #CD5C72 #ABCD5C #5CCDB6
square
#7E5CCD #CD5C72 #ABCD5C #5CCDB6
split-complementary
#7E5CCD #CDB65C #72CD5C
monochromatic
#452986 #5D37B4 #7E5CCD #A38BDB #C8BAEA

Accessibility & contrast

On white

4.88
#7E5CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7E5CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5CCD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5CCD#FFFFFF#000000##FFFFFF
##7E5CCD1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2672D1
Deuteranopia (green-blind)
#306FCA
Tritanopia (blue-blind)
#6A748C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e5ccd;
/* rgb */ color: rgb(126, 92, 205);
/* oklch */ color: oklch(56.5% 0.168 294.3);
Tailwind
colors: {
  custom: {
    50: '#a88bdd',
    500: '#7e5ccd',
    950: '#000000',
  },
}
SCSS
$custom: #7e5ccd;
$custom-light: #a88bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5ccd",
  "rgb": {
    "r": 126,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 258.053,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56486,
    "c": 0.16812,
    "h": 294.3
  },
  "luminance": 0.16498
}

Semantic roles & 50–950 ramp

primary
#7E5CCD
secondary
#CBD9AC
accent
#DC4BB1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7E5CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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