#7E63DB#7E63DB

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

Color values

HEX#7E63DB
RGBrgb(126, 99, 219)
HSLhsl(254, 63%, 62%)
HSVhsv(254, 55%, 86%)
CMYKcmyk(42.5%, 54.8%, 0%, 14.1%)
CIE-LABlab(50.06, 39.18, -58.06)
CIE-LCHlch(50.06, 70.04, 304.02°)
OKLaboklab(58.57% 0.061 -0.1652)
OKLCHoklch(58.57% 0.176 290.3)
XYZxyz(25.8487, 18.4729, 69.2078)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E63DB #C0DB63
analogous
#6384DB #7E63DB #BA63DB
triadic
#7E63DB #DB7E63 #63DB7E
tetradic
#7E63DB #DB6384 #C0DB63 #63DBBA
square
#7E63DB #DB6384 #C0DB63 #63DBBA
split-complementary
#7E63DB #DBBA63 #84DB63
monochromatic
#40259F #5531D0 #7E63DB #A795E6 #D0C6F2

Accessibility & contrast

On white

4.47
#7E63DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7E63DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E63DB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E63DB#FFFFFF#000000##000000
##7E63DB1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2479DF
Deuteranopia (green-blind)
#2974D8
Tritanopia (blue-blind)
#637D95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e63db;
/* rgb */ color: rgb(126, 99, 219);
/* oklch */ color: oklch(58.6% 0.176 290.3);
Tailwind
colors: {
  custom: {
    50: '#a990e7',
    500: '#7e63db',
    950: '#000000',
  },
}
SCSS
$custom: #7e63db;
$custom-light: #a990e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e63db",
  "rgb": {
    "r": 126,
    "g": 99,
    "b": 219
  },
  "hsl": {
    "h": 253.5,
    "s": 62.5,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58574,
    "c": 0.17607,
    "h": 290.3
  },
  "luminance": 0.18474
}

Semantic roles & 50–950 ramp

primary
#7E63DB
secondary
#D9E3B7
accent
#CA1BA3
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7E63DB

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

Preview Lab → · Contrast checker → · Palette generator →

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