#7641BF#7641BF

#7641BF is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.188 H 298.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7641BF
RGBrgb(118, 65, 191)
HSLhsl(265, 50%, 50%)
HSVhsv(265, 66%, 75%)
CMYKcmyk(38.2%, 66%, 0%, 25.1%)
CIE-LABlab(40.24, 48.74, -57.85)
CIE-LCHlch(40.24, 75.64, 310.12°)
OKLaboklab(50.6% 0.0906 -0.1648)
OKLCHoklch(50.6% 0.188 298.8)
XYZxyz(18.7631, 11.3935, 50.4907)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7641BF #8ABF41
analogous
#414BBF #7641BF #B541BF
triadic
#7641BF #BF7641 #41BF76
tetradic
#7641BF #BF414B #8ABF41 #41BFB5
square
#7641BF #BF414B #8ABF41 #41BFB5
split-complementary
#7641BF #BFB541 #4BBF41
monochromatic
#3E2264 #5A3192 #7641BF #976FCE #B89DDE

Accessibility & contrast

On white

6.40
#7641BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7641BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7641BF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7641BF#FFFFFF#000000##FFFFFF
##7641BF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#655E7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7641bf;
/* rgb */ color: rgb(118, 65, 191);
/* oklch */ color: oklch(50.6% 0.188 298.8);
Tailwind
colors: {
  custom: {
    50: '#a379d3',
    500: '#7641bf',
    950: '#000000',
  },
}
SCSS
$custom: #7641bf;
$custom-light: #a379d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7641bf",
  "rgb": {
    "r": 118,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 265.238,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50604,
    "c": 0.18805,
    "h": 298.8
  },
  "luminance": 0.11394
}

Semantic roles & 50–950 ramp

primary
#7641BF
secondary
#B2CA92
accent
#D94F9F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7641BF

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

Preview Lab → · Contrast checker → · Palette generator →

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