#7E63E4#7E63E4

#7E63E4 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.2% C 0.188 H 289.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7E63E4
RGBrgb(126, 99, 228)
HSLhsl(253, 70%, 64%)
HSVhsv(253, 57%, 89%)
CMYKcmyk(44.7%, 56.6%, 0%, 10.6%)
CIE-LABlab(50.64, 41.71, -62.22)
CIE-LCHlch(50.64, 74.90, 303.84°)
OKLaboklab(59.18% 0.0611 -0.1774)
OKLCHoklch(59.18% 0.188 289)
XYZxyz(27.0656, 18.9597, 75.6173)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E63E4 #C9E463
analogous
#6389E4 #7E63E4 #BF63E4
triadic
#7E63E4 #E47E63 #63E47E
tetradic
#7E63E4 #E46389 #C9E463 #63E4BF
square
#7E63E4 #E46389 #C9E463 #63E4BF
split-complementary
#7E63E4 #E4BF63 #89E463
monochromatic
#3C1EAE #532FDB #7E63E4 #A997ED #D4CBF6

Accessibility & contrast

On white

4.38
#7E63E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7E63E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E63E4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E63E4#FFFFFF#000000##000000
##7E63E41.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7BE8
Deuteranopia (green-blind)
#1475E1
Tritanopia (blue-blind)
#5F809A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e63e4;
/* rgb */ color: rgb(126, 99, 228);
/* oklch */ color: oklch(59.2% 0.188 289.0);
Tailwind
colors: {
  custom: {
    50: '#aa90ed',
    500: '#7e63e4',
    950: '#000000',
  },
}
SCSS
$custom: #7e63e4;
$custom-light: #aa90ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7e63e4",
  "rgb": {
    "r": 126,
    "g": 99,
    "b": 228
  },
  "hsl": {
    "h": 252.558,
    "s": 70.492,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59182,
    "c": 0.18763,
    "h": 289
  },
  "luminance": 0.18961
}

Semantic roles & 50–950 ramp

primary
#7E63E4
secondary
#DEE8BB
accent
#D313AA
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7E63E4

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

Preview Lab → · Contrast checker → · Palette generator →

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