#7E63C8#7E63C8

#7E63C8 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.4% C 0.151 H 293.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7E63C8
RGBrgb(126, 99, 200)
HSLhsl(256, 48%, 59%)
HSVhsv(256, 51%, 78%)
CMYKcmyk(37%, 50.5%, 0%, 21.6%)
CIE-LABlab(48.92, 33.94, -49.05)
CIE-LCHlch(48.92, 59.65, 304.68°)
OKLaboklab(57.35% 0.06 -0.1387)
OKLCHoklch(57.35% 0.151 293.4)
XYZxyz(23.4886, 17.5289, 56.7783)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E63C8 #ADC863
analogous
#637AC8 #7E63C8 #B063C8
triadic
#7E63C8 #C87E63 #63C87E
tetradic
#7E63C8 #C8637A #ADC863 #63C8B0
square
#7E63C8 #C8637A #ADC863 #63C8B0
split-complementary
#7E63C8 #C8B063 #7AC863
monochromatic
#452E83 #5C3EB0 #7E63C8 #A390D8 #C9BDE8

Accessibility & contrast

On white

4.66
#7E63C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7E63C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E63C8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E63C8#FFFFFF#000000##FFFFFF
##7E63C81.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C75CC
Deuteranopia (green-blind)
#4172C6
Tritanopia (blue-blind)
#6C778C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e63c8;
/* rgb */ color: rgb(126, 99, 200);
/* oklch */ color: oklch(57.4% 0.151 293.4);
Tailwind
colors: {
  custom: {
    50: '#a790d9',
    500: '#7e63c8',
    950: '#000000',
  },
}
SCSS
$custom: #7e63c8;
$custom-light: #a790d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e63c8",
  "rgb": {
    "r": 126,
    "g": 99,
    "b": 200
  },
  "hsl": {
    "h": 256.04,
    "s": 47.867,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57354,
    "c": 0.15115,
    "h": 293.4
  },
  "luminance": 0.17529
}

Semantic roles & 50–950 ramp

primary
#7E63C8
secondary
#CDD7AF
accent
#D750B3
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7E63C8

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

Preview Lab → · Contrast checker → · Palette generator →

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