#7641BA#7641BA

#7641BA is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.182 H 300.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7641BA
RGBrgb(118, 65, 186)
HSLhsl(266, 48%, 49%)
HSVhsv(266, 65%, 73%)
CMYKcmyk(36.6%, 65.1%, 0%, 27.1%)
CIE-LABlab(39.88, 47.46, -55.50)
CIE-LCHlch(39.88, 73.02, 310.54°)
OKLaboklab(50.23% 0.0911 -0.1579)
OKLCHoklch(50.23% 0.182 300)
XYZxyz(18.2223, 11.1772, 47.6422)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7641BA #85BA41
analogous
#4149BA #7641BA #B341BA
triadic
#7641BA #BA7641 #41BA76
tetradic
#7641BA #BA4149 #85BA41 #41BAB3
square
#7641BA #BA4149 #85BA41 #41BAB3
split-complementary
#7641BA #BAB341 #49BA41
monochromatic
#3C215F #59318D #7641BA #966CCC #B79ADC

Accessibility & contrast

On white

6.49
#7641BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7641BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7641BA
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7641BA#FFFFFF#000000##FFFFFF
##7641BA1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#005DB7
Tritanopia (blue-blind)
#675C78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7641ba;
/* rgb */ color: rgb(118, 65, 186);
/* oklch */ color: oklch(50.2% 0.182 300.0);
Tailwind
colors: {
  custom: {
    50: '#a279cf',
    500: '#7641ba',
    950: '#000000',
  },
}
SCSS
$custom: #7641ba;
$custom-light: #a279cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7641ba",
  "rgb": {
    "r": 118,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 266.281,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50232,
    "c": 0.18229,
    "h": 300
  },
  "luminance": 0.11177
}

Semantic roles & 50–950 ramp

primary
#7641BA
secondary
#AFC88F
accent
#D8509C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7641BA

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

Preview Lab → · Contrast checker → · Palette generator →

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