#7641BD#7641BD

#7641BD is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.5% C 0.186 H 299.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7641BD
RGBrgb(118, 65, 189)
HSLhsl(266, 49%, 50%)
HSVhsv(266, 66%, 74%)
CMYKcmyk(37.6%, 65.6%, 0%, 25.9%)
CIE-LABlab(40.09, 48.23, -56.91)
CIE-LCHlch(40.09, 74.59, 310.28°)
OKLaboklab(50.45% 0.0908 -0.1621)
OKLCHoklch(50.45% 0.186 299.3)
XYZxyz(18.5445, 11.3061, 49.3395)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7641BD #88BD41
analogous
#414ABD #7641BD #B441BD
triadic
#7641BD #BD7641 #41BD76
tetradic
#7641BD #BD414A #88BD41 #41BDB4
square
#7641BD #BD414A #88BD41 #41BDB4
split-complementary
#7641BD #BDB441 #4ABD41
monochromatic
#3D2262 #5A318F #7641BD #976ECD #B79CDD

Accessibility & contrast

On white

6.44
#7641BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7641BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7641BD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7641BD#FFFFFF#000000##FFFFFF
##7641BD1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#665D79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7641bd;
/* rgb */ color: rgb(118, 65, 189);
/* oklch */ color: oklch(50.5% 0.186 299.3);
Tailwind
colors: {
  custom: {
    50: '#a379d2',
    500: '#7641bd',
    950: '#000000',
  },
}
SCSS
$custom: #7641bd;
$custom-light: #a379d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7641bd",
  "rgb": {
    "r": 118,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 265.645,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50454,
    "c": 0.18575,
    "h": 299.3
  },
  "luminance": 0.11306
}

Semantic roles & 50–950 ramp

primary
#7641BD
secondary
#B1C991
accent
#D84F9E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7641BD

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

Preview Lab → · Contrast checker → · Palette generator →

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