#7E63BB#7E63BB

#7E63BB is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.6% C 0.134 H 296.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7E63BB
RGBrgb(126, 99, 187)
HSLhsl(258, 39%, 56%)
HSVhsv(258, 47%, 73%)
CMYKcmyk(32.6%, 47.1%, 0%, 26.7%)
CIE-LABlab(48.19, 30.46, -42.71)
CIE-LCHlch(48.19, 52.45, 305.50°)
OKLaboklab(56.58% 0.0586 -0.1202)
OKLCHoklch(56.58% 0.134 296)
XYZxyz(22.0334, 16.9468, 49.1143)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E63BB #A0BB63
analogous
#6374BB #7E63BB #AA63BB
triadic
#7E63BB #BB7E63 #63BB7E
tetradic
#7E63BB #BB6374 #A0BB63 #63BBAA
square
#7E63BB #BB6374 #A0BB63 #63BBAA
split-complementary
#7E63BB #BBAA63 #74BB63
monochromatic
#453272 #5F449D #7E63BB #A18ECE #C4B8E0

Accessibility & contrast

On white

4.78
#7E63BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7E63BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E63BB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E63BB#FFFFFF#000000##FFFFFF
##7E63BB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4673BE
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#707486
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e63bb;
/* rgb */ color: rgb(126, 99, 187);
/* oklch */ color: oklch(56.6% 0.134 296.0);
Tailwind
colors: {
  custom: {
    50: '#a690d0',
    500: '#7e63bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e63bb;
$custom-light: #a690d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e63bb",
  "rgb": {
    "r": 126,
    "g": 99,
    "b": 187
  },
  "hsl": {
    "h": 258.409,
    "s": 39.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56575,
    "c": 0.13371,
    "h": 296
  },
  "luminance": 0.16947
}

Semantic roles & 50–950 ramp

primary
#7E63BB
secondary
#C4CFAB
accent
#CF59AB
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7E63BB

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

Preview Lab → · Contrast checker → · Palette generator →

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