#7E63BF#7E63BF

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

Color values

HEX#7E63BF
RGBrgb(126, 99, 191)
HSLhsl(258, 42%, 57%)
HSVhsv(258, 48%, 75%)
CMYKcmyk(34%, 48.2%, 0%, 25.1%)
CIE-LABlab(48.41, 31.52, -44.67)
CIE-LCHlch(48.41, 54.67, 305.20°)
OKLaboklab(56.81% 0.0591 -0.1259)
OKLCHoklch(56.81% 0.139 295.1)
XYZxyz(22.4676, 17.1205, 51.4010)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E63BF #A4BF63
analogous
#6376BF #7E63BF #AC63BF
triadic
#7E63BF #BF7E63 #63BF7E
tetradic
#7E63BF #BF6376 #A4BF63 #63BFAC
square
#7E63BF #BF6376 #A4BF63 #63BFAC
split-complementary
#7E63BF #BFAC63 #76BF63
monochromatic
#453177 #5F43A2 #7E63BF #A28ED1 #C6BAE3

Accessibility & contrast

On white

4.75
#7E63BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E63BF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E63BF#FFFFFF#000000##FFFFFF
##7E63BF1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4374C2
Deuteranopia (green-blind)
#4872BD
Tritanopia (blue-blind)
#6F7588
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e63bf;
/* rgb */ color: rgb(126, 99, 191);
/* oklch */ color: oklch(56.8% 0.139 295.1);
Tailwind
colors: {
  custom: {
    50: '#a690d3',
    500: '#7e63bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e63bf;
$custom-light: #a690d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e63bf",
  "rgb": {
    "r": 126,
    "g": 99,
    "b": 191
  },
  "hsl": {
    "h": 257.609,
    "s": 41.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5681,
    "c": 0.1391,
    "h": 295.1
  },
  "luminance": 0.17121
}

Semantic roles & 50–950 ramp

primary
#7E63BF
secondary
#C7D2AC
accent
#D256AD
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7E63BF

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

Preview Lab → · Contrast checker → · Palette generator →

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