#7E63EC#7E63EC

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

Color values

HEX#7E63EC
RGBrgb(126, 99, 236)
HSLhsl(252, 78%, 66%)
HSVhsv(252, 58%, 93%)
CMYKcmyk(46.6%, 58.1%, 0%, 7.5%)
CIE-LABlab(51.17, 43.97, -65.86)
CIE-LCHlch(51.17, 79.19, 303.73°)
OKLaboklab(59.74% 0.061 -0.1881)
OKLCHoklch(59.74% 0.198 288)
XYZxyz(28.2020, 19.4143, 81.6020)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E63EC #D1EC63
analogous
#638CEC #7E63EC #C363EC
triadic
#7E63EC #EC7E63 #63EC7E
tetradic
#7E63EC #EC638C #D1EC63 #63ECC3
square
#7E63EC #EC638C #D1EC63 #63ECC3
split-complementary
#7E63EC #ECC363 #8CEC63
monochromatic
#3817BE #512CE5 #7E63EC #AB9AF3 #D8D0F9

Accessibility & contrast

On white

4.30
#7E63EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7E63EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E63EC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E63EC#FFFFFF#000000##000000
##7E63EC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#5A829E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e63ec;
/* rgb */ color: rgb(126, 99, 236);
/* oklch */ color: oklch(59.7% 0.198 288.0);
Tailwind
colors: {
  custom: {
    50: '#ab90f3',
    500: '#7e63ec',
    950: '#000000',
  },
}
SCSS
$custom: #7e63ec;
$custom-light: #ab90f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e63ec",
  "rgb": {
    "r": 126,
    "g": 99,
    "b": 236
  },
  "hsl": {
    "h": 251.825,
    "s": 78.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.5974,
    "c": 0.19776,
    "h": 288
  },
  "luminance": 0.19415
}

Semantic roles & 50–950 ramp

primary
#7E63EC
secondary
#E3ECBF
accent
#DB0BB2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #7E63EC

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

Preview Lab → · Contrast checker → · Palette generator →

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