#764BBD#764BBD

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

Color values

HEX#764BBD
RGBrgb(118, 75, 189)
HSLhsl(263, 46%, 52%)
HSVhsv(263, 60%, 74%)
CMYKcmyk(37.6%, 60.3%, 0%, 25.9%)
CIE-LABlab(42.09, 42.84, -53.68)
CIE-LCHlch(42.09, 68.68, 308.59°)
OKLaboklab(51.9% 0.0793 -0.1526)
OKLCHoklch(51.9% 0.172 297.4)
XYZxyz(19.1703, 12.5575, 49.5481)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BBD #92BD4B
analogous
#4B59BD #764BBD #AF4BBD
triadic
#764BBD #BD764B #4BBD76
tetradic
#764BBD #BD4B59 #92BD4B #4BBDAF
square
#764BBD #BD4B59 #92BD4B #4BBDAF
split-complementary
#764BBD #BDAF4B #59BD4B
monochromatic
#3F2668 #5A3694 #764BBD #9878CD #BAA5DE

Accessibility & contrast

On white

5.98
#764BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#764BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BBD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BBD#FFFFFF#000000##FFFFFF
##764BBD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#1B62BA
Tritanopia (blue-blind)
#65647D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #764bbd;
/* rgb */ color: rgb(118, 75, 189);
/* oklch */ color: oklch(51.9% 0.172 297.4);
Tailwind
colors: {
  custom: {
    50: '#a27fd2',
    500: '#764bbd',
    950: '#000000',
  },
}
SCSS
$custom: #764bbd;
$custom-light: #a27fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#764bbd",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 262.632,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51903,
    "c": 0.17194,
    "h": 297.4
  },
  "luminance": 0.12558
}

Semantic roles & 50–950 ramp

primary
#764BBD
secondary
#B8CB99
accent
#D652A4
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #764BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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