#764DBB#764DBB

#764DBB is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.167 H 297.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#764DBB
RGBrgb(118, 77, 187)
HSLhsl(262, 45%, 52%)
HSVhsv(262, 59%, 73%)
CMYKcmyk(36.9%, 58.8%, 0%, 26.7%)
CIE-LABlab(42.38, 41.19, -52.04)
CIE-LCHlch(42.38, 66.37, 308.36°)
OKLaboklab(52.07% 0.0769 -0.1478)
OKLCHoklch(52.07% 0.167 297.5)
XYZxyz(19.0925, 12.7469, 48.4586)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DBB #92BB4D
analogous
#4D5BBB #764DBB #AD4DBB
triadic
#764DBB #BB764D #4DBB76
tetradic
#764DBB #BB4D5B #92BB4D #4DBBAD
square
#764DBB #BB4D5B #92BB4D #4DBBAD
split-complementary
#764DBB #BBAD4D #5BBB4D
monochromatic
#3F2766 #5A3893 #764DBB #9879CC #BAA6DD

Accessibility & contrast

On white

5.92
#764DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#764DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DBB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DBB#FFFFFF#000000##FFFFFF
##764DBB1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D64BF
Deuteranopia (green-blind)
#2363B9
Tritanopia (blue-blind)
#66647C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #764dbb;
/* rgb */ color: rgb(118, 77, 187);
/* oklch */ color: oklch(52.1% 0.167 297.5);
Tailwind
colors: {
  custom: {
    50: '#a280d0',
    500: '#764dbb',
    950: '#000000',
  },
}
SCSS
$custom: #764dbb;
$custom-light: #a280d0;
$custom-dark: #000000;
JSON
{
  "hex": "#764dbb",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 262.364,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52073,
    "c": 0.16659,
    "h": 297.5
  },
  "luminance": 0.12747
}

Semantic roles & 50–950 ramp

primary
#764DBB
secondary
#B8CA9A
accent
#D453A4
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #764DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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