#7A63BB#7A63BB

#7A63BB is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.2% C 0.133 H 293.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7A63BB
RGBrgb(122, 99, 187)
HSLhsl(256, 39%, 56%)
HSVhsv(256, 47%, 73%)
CMYKcmyk(34.8%, 47.1%, 0%, 26.7%)
CIE-LABlab(47.81, 29.38, -43.33)
CIE-LCHlch(47.81, 52.35, 304.14°)
OKLaboklab(56.2% 0.0536 -0.1221)
OKLCHoklch(56.2% 0.133 293.7)
XYZxyz(21.4552, 16.6487, 49.0872)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A63BB #A4BB63
analogous
#6378BB #7A63BB #A663BB
triadic
#7A63BB #BB7A63 #63BB7A
tetradic
#7A63BB #BB6378 #A4BB63 #63BBA6
square
#7A63BB #BB6378 #A4BB63 #63BBA6
split-complementary
#7A63BB #BBA663 #78BB63
monochromatic
#423272 #5B449D #7A63BB #9E8ECE #C3B8E0

Accessibility & contrast

On white

4.85
#7A63BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7A63BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A63BB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A63BB#FFFFFF#000000##FFFFFF
##7A63BB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4572BE
Deuteranopia (green-blind)
#4870B9
Tritanopia (blue-blind)
#6B7486
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a63bb;
/* rgb */ color: rgb(122, 99, 187);
/* oklch */ color: oklch(56.2% 0.133 293.7);
Tailwind
colors: {
  custom: {
    50: '#a390d0',
    500: '#7a63bb',
    950: '#000000',
  },
}
SCSS
$custom: #7a63bb;
$custom-light: #a390d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a63bb",
  "rgb": {
    "r": 122,
    "g": 99,
    "b": 187
  },
  "hsl": {
    "h": 255.682,
    "s": 39.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.562,
    "c": 0.13336,
    "h": 293.7
  },
  "luminance": 0.16649
}

Semantic roles & 50–950 ramp

primary
#7A63BB
secondary
#C6CFAB
accent
#CF59B0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7A63BB

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

Preview Lab → · Contrast checker → · Palette generator →

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