#7E63EB#7E63EB

#7E63EB is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.7% C 0.197 H 288.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7E63EB
RGBrgb(126, 99, 235)
HSLhsl(252, 77%, 65%)
HSVhsv(252, 58%, 92%)
CMYKcmyk(46.4%, 57.9%, 0%, 7.8%)
CIE-LABlab(51.10, 43.69, -65.41)
CIE-LCHlch(51.10, 78.66, 303.74°)
OKLaboklab(59.67% 0.061 -0.1868)
OKLCHoklch(59.67% 0.197 288.1)
XYZxyz(28.0571, 19.3563, 80.8390)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E63EB #D0EB63
analogous
#638CEB #7E63EB #C263EB
triadic
#7E63EB #EB7E63 #63EB7E
tetradic
#7E63EB #EB638C #D0EB63 #63EBC2
square
#7E63EB #EB638C #D0EB63 #63EBC2
split-complementary
#7E63EB #EBC263 #8CEB63
monochromatic
#3918BC #512DE4 #7E63EB #AB99F2 #D8CFF9

Accessibility & contrast

On white

4.31
#7E63EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7E63EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E63EB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E63EB#FFFFFF#000000##000000
##7E63EB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#5B829E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e63eb;
/* rgb */ color: rgb(126, 99, 235);
/* oklch */ color: oklch(59.7% 0.197 288.1);
Tailwind
colors: {
  custom: {
    50: '#aa90f2',
    500: '#7e63eb',
    950: '#000000',
  },
}
SCSS
$custom: #7e63eb;
$custom-light: #aa90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e63eb",
  "rgb": {
    "r": 126,
    "g": 99,
    "b": 235
  },
  "hsl": {
    "h": 251.912,
    "s": 77.273,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59669,
    "c": 0.1965,
    "h": 288.1
  },
  "luminance": 0.19357
}

Semantic roles & 50–950 ramp

primary
#7E63EB
secondary
#E3ECBE
accent
#DA0CB1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #7E63EB

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

Preview Lab → · Contrast checker → · Palette generator →

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