#7A61BA#7A61BA

#7A61BA is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.8% C 0.135 H 294.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7A61BA
RGBrgb(122, 97, 186)
HSLhsl(257, 39%, 55%)
HSVhsv(257, 48%, 73%)
CMYKcmyk(34.4%, 47.8%, 0%, 27.1%)
CIE-LABlab(47.28, 30.30, -43.60)
CIE-LCHlch(47.28, 53.10, 304.79°)
OKLaboklab(55.78% 0.0562 -0.1229)
OKLCHoklch(55.78% 0.135 294.6)
XYZxyz(21.1614, 16.2318, 48.4630)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A61BA #A1BA61
analogous
#6174BA #7A61BA #A661BA
triadic
#7A61BA #BA7A61 #61BA7A
tetradic
#7A61BA #BA6174 #A1BA61 #61BAA6
square
#7A61BA #BA6174 #A1BA61 #61BAA6
split-complementary
#7A61BA #BAA661 #74BA61
monochromatic
#433170 #5C439A #7A61BA #9E8CCD #C2B6DF

Accessibility & contrast

On white

4.95
#7A61BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7A61BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A61BA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A61BA#FFFFFF#000000##FFFFFF
##7A61BA1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4271BD
Deuteranopia (green-blind)
#476FB8
Tritanopia (blue-blind)
#6B7285
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a61ba;
/* rgb */ color: rgb(122, 97, 186);
/* oklch */ color: oklch(55.8% 0.135 294.6);
Tailwind
colors: {
  custom: {
    50: '#a38ecf',
    500: '#7a61ba',
    950: '#000000',
  },
}
SCSS
$custom: #7a61ba;
$custom-light: #a38ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a61ba",
  "rgb": {
    "r": 122,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 256.854,
    "s": 39.207,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55779,
    "c": 0.13514,
    "h": 294.6
  },
  "luminance": 0.16232
}

Semantic roles & 50–950 ramp

primary
#7A61BA
secondary
#C4CEA9
accent
#CF59AE
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7A61BA

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

Preview Lab → · Contrast checker → · Palette generator →

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