#7640BD#7640BD

#7640BD is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.3% C 0.187 H 299.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7640BD
RGBrgb(118, 64, 189)
HSLhsl(266, 49%, 50%)
HSVhsv(266, 66%, 74%)
CMYKcmyk(37.6%, 66.1%, 0%, 25.9%)
CIE-LABlab(39.90, 48.74, -57.21)
CIE-LCHlch(39.90, 75.16, 310.43°)
OKLaboklab(50.32% 0.0919 -0.163)
OKLCHoklch(50.32% 0.187 299.4)
XYZxyz(18.4876, 11.1923, 49.3206)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7640BD #87BD40
analogous
#4049BD #7640BD #B540BD
triadic
#7640BD #BD7640 #40BD76
tetradic
#7640BD #BD4049 #87BD40 #40BDB5
square
#7640BD #BD4049 #87BD40 #40BDB5
split-complementary
#7640BD #BDB540 #49BD40
monochromatic
#3D2162 #59318F #7640BD #976DCD #B79ADD

Accessibility & contrast

On white

6.48
#7640BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7640BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7640BD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7640BD#FFFFFF#000000##FFFFFF
##7640BD1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.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: #7640bd;
/* rgb */ color: rgb(118, 64, 189);
/* oklch */ color: oklch(50.3% 0.187 299.4);
Tailwind
colors: {
  custom: {
    50: '#a378d2',
    500: '#7640bd',
    950: '#000000',
  },
}
SCSS
$custom: #7640bd;
$custom-light: #a378d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7640bd",
  "rgb": {
    "r": 118,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 265.92,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50318,
    "c": 0.18708,
    "h": 299.4
  },
  "luminance": 0.11192
}

Semantic roles & 50–950 ramp

primary
#7640BD
secondary
#B0C990
accent
#D94F9D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7640BD

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

Preview Lab → · Contrast checker → · Palette generator →

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