#7E63BE#7E63BE

#7E63BE is a mid, vivid violet. Relative luminance 0.171; OKLCH L 56.8% C 0.138 H 295.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7E63BE
RGBrgb(126, 99, 190)
HSLhsl(258, 41%, 57%)
HSVhsv(258, 48%, 75%)
CMYKcmyk(33.7%, 47.9%, 0%, 25.5%)
CIE-LABlab(48.36, 31.25, -44.18)
CIE-LCHlch(48.36, 54.12, 305.27°)
OKLaboklab(56.75% 0.059 -0.1245)
OKLCHoklch(56.75% 0.138 295.3)
XYZxyz(22.3579, 17.0766, 50.8234)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E63BE #A3BE63
analogous
#6376BE #7E63BE #AC63BE
triadic
#7E63BE #BE7E63 #63BE7E
tetradic
#7E63BE #BE6376 #A3BE63 #63BEAC
square
#7E63BE #BE6376 #A3BE63 #63BEAC
split-complementary
#7E63BE #BEAC63 #76BE63
monochromatic
#453176 #5F43A1 #7E63BE #A28ED0 #C5B9E2

Accessibility & contrast

On white

4.76
#7E63BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7E63BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E63BE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E63BE#FFFFFF#000000##FFFFFF
##7E63BE1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4474C1
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#6F7487
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e63be;
/* rgb */ color: rgb(126, 99, 190);
/* oklch */ color: oklch(56.8% 0.138 295.3);
Tailwind
colors: {
  custom: {
    50: '#a690d2',
    500: '#7e63be',
    950: '#000000',
  },
}
SCSS
$custom: #7e63be;
$custom-light: #a690d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e63be",
  "rgb": {
    "r": 126,
    "g": 99,
    "b": 190
  },
  "hsl": {
    "h": 257.802,
    "s": 41.176,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5675,
    "c": 0.13776,
    "h": 295.3
  },
  "luminance": 0.17077
}

Semantic roles & 50–950 ramp

primary
#7E63BE
secondary
#C6D1AC
accent
#D157AD
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7E63BE

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

Preview Lab → · Contrast checker → · Palette generator →

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