#7A63AA#7A63AA

#7A63AA is a mid, moderate violet. Relative luminance 0.160; OKLCH L 55.2% C 0.110 H 297.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7A63AA
RGBrgb(122, 99, 170)
HSLhsl(259, 29%, 53%)
HSVhsv(259, 42%, 67%)
CMYKcmyk(28.2%, 41.8%, 0%, 33.3%)
CIE-LABlab(46.93, 24.88, -34.82)
CIE-LCHlch(46.93, 42.79, 305.54°)
OKLaboklab(55.24% 0.0509 -0.0973)
OKLCHoklch(55.24% 0.11 297.6)
XYZxyz(19.7419, 15.9634, 40.0636)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A63AA #93AA63
analogous
#636FAA #7A63AA #9E63AA
triadic
#7A63AA #AA7A63 #63AA7A
tetradic
#7A63AA #AA636F #93AA63 #63AA9E
square
#7A63AA #AA636F #93AA63 #63AA9E
split-complementary
#7A63AA #AA9E63 #6FAA63
monochromatic
#42345F #5D4987 #7A63AA #9C8BC0 #BEB2D5

Accessibility & contrast

On white

5.01
#7A63AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7A63AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A63AA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A63AA#FFFFFF#000000##FFFFFF
##7A63AA1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAD
Deuteranopia (green-blind)
#536FA8
Tritanopia (blue-blind)
#706F7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a63aa;
/* rgb */ color: rgb(122, 99, 170);
/* oklch */ color: oklch(55.2% 0.110 297.6);
Tailwind
colors: {
  custom: {
    50: '#a28fc3',
    500: '#7a63aa',
    950: '#000000',
  },
}
SCSS
$custom: #7a63aa;
$custom-light: #a28fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a63aa",
  "rgb": {
    "r": 122,
    "g": 99,
    "b": 170
  },
  "hsl": {
    "h": 259.437,
    "s": 29.461,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55241,
    "c": 0.10985,
    "h": 297.6
  },
  "luminance": 0.15964
}

Semantic roles & 50–950 ramp

primary
#7A63AA
secondary
#BAC4A5
accent
#C662A5
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #7A63AA

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

Preview Lab → · Contrast checker → · Palette generator →

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