#7E5EE2#7E5EE2

#7E5EE2 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.192 H 290.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7E5EE2
RGBrgb(126, 94, 226)
HSLhsl(255, 69%, 63%)
HSVhsv(255, 58%, 89%)
CMYKcmyk(44.2%, 58.4%, 0%, 11.4%)
CIE-LABlab(49.41, 43.99, -63.07)
CIE-LCHlch(49.41, 76.90, 304.90°)
OKLaboklab(58.24% 0.0667 -0.1799)
OKLCHoklch(58.24% 0.192 290.3)
XYZxyz(26.3305, 17.9311, 74.0105)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5EE2 #C2E25E
analogous
#5E80E2 #7E5EE2 #C05EE2
triadic
#7E5EE2 #E27E5E #5EE27E
tetradic
#7E5EE2 #E25E80 #C2E25E #5EE2C0
square
#7E5EE2 #E25E80 #C2E25E #5EE2C0
split-complementary
#7E5EE2 #E2C05E #80E25E
monochromatic
#3F1EA7 #542AD9 #7E5EE2 #A892EB #D1C6F5

Accessibility & contrast

On white

4.58
#7E5EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7E5EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5EE2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5EE2#FFFFFF#000000##000000
##7E5EE21.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#607C97
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e5ee2;
/* rgb */ color: rgb(126, 94, 226);
/* oklch */ color: oklch(58.2% 0.192 290.3);
Tailwind
colors: {
  custom: {
    50: '#aa8dec',
    500: '#7e5ee2',
    950: '#000000',
  },
}
SCSS
$custom: #7e5ee2;
$custom-light: #aa8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5ee2",
  "rgb": {
    "r": 126,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 254.545,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58237,
    "c": 0.1919,
    "h": 290.3
  },
  "luminance": 0.17932
}

Semantic roles & 50–950 ramp

primary
#7E5EE2
secondary
#DAE6B6
accent
#D114A4
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7E5EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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