#7641B3#7641B3

#7641B3 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.7% C 0.174 H 301.8°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7641B3
RGBrgb(118, 65, 179)
HSLhsl(268, 47%, 48%)
HSVhsv(268, 64%, 70%)
CMYKcmyk(34.1%, 63.7%, 0%, 29.8%)
CIE-LABlab(39.39, 45.68, -52.16)
CIE-LCHlch(39.39, 69.34, 311.21°)
OKLaboklab(49.73% 0.0917 -0.1481)
OKLCHoklch(49.73% 0.174 301.8)
XYZxyz(17.4963, 10.8868, 43.8187)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7641B3 #7EB341
analogous
#4145B3 #7641B3 #AF41B3
triadic
#7641B3 #B37641 #41B376
tetradic
#7641B3 #B34145 #7EB341 #41B3AF
square
#7641B3 #B34145 #7EB341 #41B3AF
split-complementary
#7641B3 #B3AF41 #45B341
monochromatic
#3B2059 #583186 #7641B3 #9569C8 #B596D9

Accessibility & contrast

On white

6.61
#7641B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7641B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7641B3
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7641B3#FFFFFF#000000##FFFFFF
##7641B31.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#185CB0
Tritanopia (blue-blind)
#6A5A74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7641b3;
/* rgb */ color: rgb(118, 65, 179);
/* oklch */ color: oklch(49.7% 0.174 301.8);
Tailwind
colors: {
  custom: {
    50: '#a279ca',
    500: '#7641b3',
    950: '#000000',
  },
}
SCSS
$custom: #7641b3;
$custom-light: #a279ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7641b3",
  "rgb": {
    "r": 118,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 267.895,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49725,
    "c": 0.17418,
    "h": 301.8
  },
  "luminance": 0.10887
}

Semantic roles & 50–950 ramp

primary
#7641B3
secondary
#AAC48B
accent
#D65199
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7641B3

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

Preview Lab → · Contrast checker → · Palette generator →

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