#7E63DC#7E63DC

#7E63DC is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.6% C 0.177 H 290.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7E63DC
RGBrgb(126, 99, 220)
HSLhsl(253, 63%, 63%)
HSVhsv(253, 55%, 86%)
CMYKcmyk(42.7%, 55%, 0%, 13.7%)
CIE-LABlab(50.13, 39.46, -58.52)
CIE-LCHlch(50.13, 70.58, 303.99°)
OKLaboklab(58.64% 0.061 -0.1665)
OKLCHoklch(58.64% 0.177 290.1)
XYZxyz(25.9807, 18.5257, 69.9032)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E63DC #C1DC63
analogous
#6385DC #7E63DC #BA63DC
triadic
#7E63DC #DC7E63 #63DC7E
tetradic
#7E63DC #DC6385 #C1DC63 #63DCBA
square
#7E63DC #DC6385 #C1DC63 #63DCBA
split-complementary
#7E63DC #DCBA63 #85DC63
monochromatic
#4024A1 #5531D1 #7E63DC #A795E7 #D1C7F2

Accessibility & contrast

On white

4.46
#7E63DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7E63DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E63DC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E63DC#FFFFFF#000000##000000
##7E63DC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#237AE0
Deuteranopia (green-blind)
#2875D9
Tritanopia (blue-blind)
#637D96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e63dc;
/* rgb */ color: rgb(126, 99, 220);
/* oklch */ color: oklch(58.6% 0.177 290.1);
Tailwind
colors: {
  custom: {
    50: '#a990e8',
    500: '#7e63dc',
    950: '#000000',
  },
}
SCSS
$custom: #7e63dc;
$custom-light: #a990e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e63dc",
  "rgb": {
    "r": 126,
    "g": 99,
    "b": 220
  },
  "hsl": {
    "h": 253.388,
    "s": 63.351,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5864,
    "c": 0.17737,
    "h": 290.1
  },
  "luminance": 0.18527
}

Semantic roles & 50–950 ramp

primary
#7E63DC
secondary
#DAE3B7
accent
#CB1AA4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7E63DC

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

Preview Lab → · Contrast checker → · Palette generator →

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