#7641AC#7641AC

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

Color values

HEX#7641AC
RGBrgb(118, 65, 172)
HSLhsl(270, 45%, 46%)
HSVhsv(270, 62%, 67%)
CMYKcmyk(31.4%, 62.2%, 0%, 32.5%)
CIE-LABlab(38.92, 43.93, -48.78)
CIE-LCHlch(38.92, 65.64, 312.01°)
OKLaboklab(49.23% 0.0921 -0.1381)
OKLCHoklch(49.23% 0.166 303.7)
XYZxyz(16.8062, 10.6107, 40.1844)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7641AC #77AC41
analogous
#4141AC #7641AC #AC41AC
triadic
#7641AC #AC7641 #41AC76
tetradic
#7641AC #AC4141 #77AC41 #41ACAC
square
#7641AC #AC4141 #77AC41 #41ACAC
split-complementary
#7641AC #ACAC41 #41AC41
monochromatic
#391F53 #583080 #7641AC #9565C5 #B392D6

Accessibility & contrast

On white

6.73
#7641AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7641AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7641AC
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7641AC#FFFFFF#000000##FFFFFF
##7641AC1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#245CAA
Tritanopia (blue-blind)
#6C5770
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7641ac;
/* rgb */ color: rgb(118, 65, 172);
/* oklch */ color: oklch(49.2% 0.166 303.7);
Tailwind
colors: {
  custom: {
    50: '#a178c5',
    500: '#7641ac',
    950: '#000000',
  },
}
SCSS
$custom: #7641ac;
$custom-light: #a178c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7641ac",
  "rgb": {
    "r": 118,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 269.72,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49232,
    "c": 0.16602,
    "h": 303.7
  },
  "luminance": 0.10611
}

Semantic roles & 50–950 ramp

primary
#7641AC
secondary
#A5C188
accent
#D55395
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7641AC

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

Preview Lab → · Contrast checker → · Palette generator →

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