#7E63EA#7E63EA

#7E63EA is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.6% C 0.195 H 288.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7E63EA
RGBrgb(126, 99, 234)
HSLhsl(252, 76%, 65%)
HSVhsv(252, 58%, 92%)
CMYKcmyk(46.2%, 57.7%, 0%, 8.2%)
CIE-LABlab(51.03, 43.40, -64.95)
CIE-LCHlch(51.03, 78.12, 303.75°)
OKLaboklab(59.6% 0.061 -0.1855)
OKLCHoklch(59.6% 0.195 288.2)
XYZxyz(27.9130, 19.2987, 80.0802)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E63EA #CFEA63
analogous
#638BEA #7E63EA #C163EA
triadic
#7E63EA #EA7E63 #63EA7E
tetradic
#7E63EA #EA638B #CFEA63 #63EAC1
square
#7E63EA #EA638B #CFEA63 #63EAC1
split-complementary
#7E63EA #EAC163 #8BEA63
monochromatic
#3919BA #512DE3 #7E63EA #AB99F1 #D7CFF9

Accessibility & contrast

On white

4.32
#7E63EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#7E63EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E63EA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E63EA#FFFFFF#000000##000000
##7E63EA1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#5B819D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e63ea;
/* rgb */ color: rgb(126, 99, 234);
/* oklch */ color: oklch(59.6% 0.195 288.2);
Tailwind
colors: {
  custom: {
    50: '#aa90f2',
    500: '#7e63ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e63ea;
$custom-light: #aa90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e63ea",
  "rgb": {
    "r": 126,
    "g": 99,
    "b": 234
  },
  "hsl": {
    "h": 252,
    "s": 76.271,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59599,
    "c": 0.19524,
    "h": 288.2
  },
  "luminance": 0.193
}

Semantic roles & 50–950 ramp

primary
#7E63EA
secondary
#E2EBBE
accent
#D80DB0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #7E63EA

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

Preview Lab → · Contrast checker → · Palette generator →

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