#764EBB#764EBB

#764EBB is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.2% C 0.165 H 297.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#764EBB
RGBrgb(118, 78, 187)
HSLhsl(262, 44%, 52%)
HSVhsv(262, 58%, 73%)
CMYKcmyk(36.9%, 58.3%, 0%, 26.7%)
CIE-LABlab(42.59, 40.63, -51.70)
CIE-LCHlch(42.59, 65.75, 308.16°)
OKLaboklab(52.23% 0.0757 -0.1468)
OKLCHoklch(52.23% 0.165 297.3)
XYZxyz(19.1630, 12.8879, 48.4821)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EBB #93BB4E
analogous
#4E5DBB #764EBB #AC4EBB
triadic
#764EBB #BB764E #4EBB76
tetradic
#764EBB #BB4E5D #93BB4E #4EBBAC
square
#764EBB #BB4E5D #93BB4E #4EBBAC
split-complementary
#764EBB #BBAC4E #5DBB4E
monochromatic
#3F2867 #5A3993 #764EBB #987ACC #BAA6DD

Accessibility & contrast

On white

5.87
#764EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#764EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EBB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EBB#FFFFFF#000000##FFFFFF
##764EBB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1265BF
Deuteranopia (green-blind)
#2563B9
Tritanopia (blue-blind)
#66657D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #764ebb;
/* rgb */ color: rgb(118, 78, 187);
/* oklch */ color: oklch(52.2% 0.165 297.3);
Tailwind
colors: {
  custom: {
    50: '#a281d0',
    500: '#764ebb',
    950: '#000000',
  },
}
SCSS
$custom: #764ebb;
$custom-light: #a281d0;
$custom-dark: #000000;
JSON
{
  "hex": "#764ebb",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 187
  },
  "hsl": {
    "h": 262.018,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5223,
    "c": 0.16512,
    "h": 297.3
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#764EBB
secondary
#B9CA9B
accent
#D454A5
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #764EBB

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

Preview Lab → · Contrast checker → · Palette generator →

#764EBB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva