#764CBB#764CBB

#764CBB is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.168 H 297.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#764CBB
RGBrgb(118, 76, 187)
HSLhsl(263, 45%, 52%)
HSVhsv(263, 59%, 73%)
CMYKcmyk(36.9%, 59.4%, 0%, 26.7%)
CIE-LABlab(42.17, 41.75, -52.39)
CIE-LCHlch(42.17, 66.99, 308.56°)
OKLaboklab(51.92% 0.0781 -0.1488)
OKLCHoklch(51.92% 0.168 297.7)
XYZxyz(19.0230, 12.6080, 48.4354)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CBB #91BB4C
analogous
#4C5ABB #764CBB #AE4CBB
triadic
#764CBB #BB764C #4CBB76
tetradic
#764CBB #BB4C5A #91BB4C #4CBBAE
square
#764CBB #BB4C5A #91BB4C #4CBBAE
split-complementary
#764CBB #BBAE4C #5ABB4C
monochromatic
#3F2766 #5A3892 #764CBB #9878CC #BAA5DD

Accessibility & contrast

On white

5.96
#764CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#764CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CBB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CBB#FFFFFF#000000##FFFFFF
##764CBB1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0664BF
Deuteranopia (green-blind)
#2162B9
Tritanopia (blue-blind)
#66647C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #764cbb;
/* rgb */ color: rgb(118, 76, 187);
/* oklch */ color: oklch(51.9% 0.168 297.7);
Tailwind
colors: {
  custom: {
    50: '#a280d0',
    500: '#764cbb',
    950: '#000000',
  },
}
SCSS
$custom: #764cbb;
$custom-light: #a280d0;
$custom-dark: #000000;
JSON
{
  "hex": "#764cbb",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 262.703,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51917,
    "c": 0.16805,
    "h": 297.7
  },
  "luminance": 0.12608
}

Semantic roles & 50–950 ramp

primary
#764CBB
secondary
#B7CA99
accent
#D553A4
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #764CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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