#7641AB#7641AB

#7641AB is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.2% C 0.165 H 304.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7641AB
RGBrgb(118, 65, 171)
HSLhsl(270, 45%, 46%)
HSVhsv(270, 62%, 67%)
CMYKcmyk(31%, 62%, 0%, 32.9%)
CIE-LABlab(38.85, 43.68, -48.29)
CIE-LCHlch(38.85, 65.11, 312.13°)
OKLaboklab(49.16% 0.0921 -0.1367)
OKLCHoklch(49.16% 0.165 304)
XYZxyz(16.7105, 10.5725, 39.6805)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7641AB #76AB41
analogous
#4141AB #7641AB #AB41AB
triadic
#7641AB #AB7641 #41AB76
tetradic
#7641AB #AB4141 #76AB41 #41ABAB
square
#7641AB #AB4141 #76AB41 #41ABAB
split-complementary
#7641AB #ABAB41 #41AB41
monochromatic
#391F52 #57307F #7641AB #9565C4 #B391D5

Accessibility & contrast

On white

6.74
#7641AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7641AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7641AB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7641AB#FFFFFF#000000##FFFFFF
##7641AB1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#265BA9
Tritanopia (blue-blind)
#6C5770
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7641ab;
/* rgb */ color: rgb(118, 65, 171);
/* oklch */ color: oklch(49.2% 0.165 304.0);
Tailwind
colors: {
  custom: {
    50: '#a178c5',
    500: '#7641ab',
    950: '#000000',
  },
}
SCSS
$custom: #7641ab;
$custom-light: #a178c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7641ab",
  "rgb": {
    "r": 118,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 270,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49163,
    "c": 0.16486,
    "h": 304
  },
  "luminance": 0.10572
}

Semantic roles & 50–950 ramp

primary
#7641AB
secondary
#A4C187
accent
#D55394
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7641AB

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

Preview Lab → · Contrast checker → · Palette generator →

#7641AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva