#7A5CAC#7A5CAC

#7A5CAC is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.1% C 0.124 H 299.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7A5CAC
RGBrgb(122, 92, 172)
HSLhsl(263, 33%, 52%)
HSVhsv(263, 47%, 67%)
CMYKcmyk(29.1%, 46.5%, 0%, 32.5%)
CIE-LABlab(45.32, 29.57, -38.53)
CIE-LCHlch(45.32, 48.57, 307.50°)
OKLaboklab(54.06% 0.0613 -0.1081)
OKLCHoklch(54.06% 0.124 299.5)
XYZxyz(19.2978, 14.7703, 40.8560)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5CAC #8EAC5C
analogous
#5C66AC #7A5CAC #A25CAC
triadic
#7A5CAC #AC7A5C #5CAC7A
tetradic
#7A5CAC #AC5C66 #8EAC5C #5CACA2
square
#7A5CAC #AC5C66 #8EAC5C #5CACA2
split-complementary
#7A5CAC #ACA25C #66AC5C
monochromatic
#41305E #5D4486 #7A5CAC #9B85C1 #BCADD5

Accessibility & contrast

On white

5.31
#7A5CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7A5CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5CAC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5CAC#FFFFFF#000000##FFFFFF
##7A5CAC1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446BAF
Deuteranopia (green-blind)
#4B6BAA
Tritanopia (blue-blind)
#706A7C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a5cac;
/* rgb */ color: rgb(122, 92, 172);
/* oklch */ color: oklch(54.1% 0.124 299.5);
Tailwind
colors: {
  custom: {
    50: '#a28bc5',
    500: '#7a5cac',
    950: '#000000',
  },
}
SCSS
$custom: #7a5cac;
$custom-light: #a28bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5cac",
  "rgb": {
    "r": 122,
    "g": 92,
    "b": 172
  },
  "hsl": {
    "h": 262.5,
    "s": 32.52,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54063,
    "c": 0.12426,
    "h": 299.5
  },
  "luminance": 0.1477
}

Semantic roles & 50–950 ramp

primary
#7A5CAC
secondary
#B6C3A0
accent
#C95FA1
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7A5CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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