#7E63B2#7E63B2

#7E63B2 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.1% C 0.121 H 298.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7E63B2
RGBrgb(126, 99, 178)
HSLhsl(261, 34%, 54%)
HSVhsv(261, 44%, 70%)
CMYKcmyk(29.2%, 44.4%, 0%, 30.2%)
CIE-LABlab(47.72, 28.10, -38.23)
CIE-LCHlch(47.72, 47.45, 306.32°)
OKLaboklab(56.06% 0.0573 -0.1071)
OKLCHoklch(56.06% 0.121 298.1)
XYZxyz(21.1000, 16.5735, 44.1982)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E63B2 #97B263
analogous
#6370B2 #7E63B2 #A663B2
triadic
#7E63B2 #B27E63 #63B27E
tetradic
#7E63B2 #B26370 #97B263 #63B2A6
square
#7E63B2 #B26370 #97B263 #63B2A6
split-complementary
#7E63B2 #B2A663 #70B263
monochromatic
#453368 #604790 #7E63B2 #A08CC6 #C2B5DA

Accessibility & contrast

On white

4.87
#7E63B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7E63B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E63B2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E63B2#FFFFFF#000000##FFFFFF
##7E63B21.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B5
Deuteranopia (green-blind)
#5170B0
Tritanopia (blue-blind)
#737182
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e63b2;
/* rgb */ color: rgb(126, 99, 178);
/* oklch */ color: oklch(56.1% 0.121 298.1);
Tailwind
colors: {
  custom: {
    50: '#a590c9',
    500: '#7e63b2',
    950: '#000000',
  },
}
SCSS
$custom: #7e63b2;
$custom-light: #a590c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e63b2",
  "rgb": {
    "r": 126,
    "g": 99,
    "b": 178
  },
  "hsl": {
    "h": 260.506,
    "s": 33.906,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56063,
    "c": 0.12149,
    "h": 298.1
  },
  "luminance": 0.16574
}

Semantic roles & 50–950 ramp

primary
#7E63B2
secondary
#BEC9A8
accent
#CA5EA5
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7E63B2

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

Preview Lab → · Contrast checker → · Palette generator →

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