#7E5CC0#7E5CC0

#7E5CC0 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.7% C 0.151 H 296.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7E5CC0
RGBrgb(126, 92, 192)
HSLhsl(260, 44%, 56%)
HSVhsv(260, 52%, 75%)
CMYKcmyk(34.4%, 52.1%, 0%, 24.7%)
CIE-LABlab(46.84, 35.88, -47.76)
CIE-LCHlch(46.84, 59.74, 306.92°)
OKLaboklab(55.65% 0.0685 -0.135)
OKLCHoklch(55.65% 0.151 296.9)
XYZxyz(21.9434, 15.8954, 51.7710)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5CC0 #9EC05C
analogous
#5C6CC0 #7E5CC0 #B05CC0
triadic
#7E5CC0 #C07E5C #5CC07E
tetradic
#7E5CC0 #C05C6C #9EC05C #5CC0B0
square
#7E5CC0 #C05C6C #9EC05C #5CC0B0
split-complementary
#7E5CC0 #C0B05C #6CC05C
monochromatic
#452D75 #603EA1 #7E5CC0 #A188D1 #C4B4E2

Accessibility & contrast

On white

5.02
#7E5CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7E5CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5CC0
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5CC0#FFFFFF#000000##FFFFFF
##7E5CC01.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366FC3
Deuteranopia (green-blind)
#3E6EBE
Tritanopia (blue-blind)
#6F7085
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e5cc0;
/* rgb */ color: rgb(126, 92, 192);
/* oklch */ color: oklch(55.7% 0.151 296.9);
Tailwind
colors: {
  custom: {
    50: '#a78bd3',
    500: '#7e5cc0',
    950: '#000000',
  },
}
SCSS
$custom: #7e5cc0;
$custom-light: #a78bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5cc0",
  "rgb": {
    "r": 126,
    "g": 92,
    "b": 192
  },
  "hsl": {
    "h": 260.4,
    "s": 44.248,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55653,
    "c": 0.15134,
    "h": 296.9
  },
  "luminance": 0.15896
}

Semantic roles & 50–950 ramp

primary
#7E5CC0
secondary
#C3D1A7
accent
#D454A8
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7E5CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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